Azure / azure-saas

The Azure SaaS Development Kit (ASDK) provides a reference architecture, deployable reference implementation and tools to help developers, startups, ISVs and Enterprises deliver their applications as a SaaS service. A platform for platform creators.

Home Page:https://aka.ms/azuresaasdevkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow non-root Linux users to do a deployment from their machine

chgeuer opened this issue · comments

Is your feature request related to a problem? Please describe.

After running src/Saas.Identity/Saas.IdentityProvider/deployment/run.sh, the user's home directory contains an ~/asdk/.cache/.../ folder owned by root.root.

Describe the solution you'd like

It would be good if the whole setup experience on the user's computer could run without the user being able to sudo.

chgeuer@beam:~/asdk/.cache/asdk-usr-b2c-hbtt$ ls -als
total 20
4 drwxr-xr-x 2 root    root 4096 Aug 23 14:36 .
4 drwxr-xr-x 3 chgeuer root 4096 Aug 23 14:36 ..
4 -rw-r--r-- 1 root    root  354 Aug 23 14:36 azureProfile.json
8 -rw------- 1 root    root 7632 Aug 23 14:36 msal_token_cache.json

Certainly going through the .../*.sh files and checking where we're calling sudo.

Fix implemented with PR #235