Comments (2)
Hey @ferantivero! Running azds
with sudo shouldn't be necessary.
- Where is the
azds
binary located on your machine? Is it in a protected folder? - Do you have access the the /tmp folder on your machine? That's where azds writes logs. If so, can you try sharing some example logfiles?
- Can you run
azds --version
and report back what version of azds you're using?
Thanks!
from dev-spaces.
Hey @DrEsteban
I think I might have found one of the folders that could be causing this issue in my environment. It looks like write access to .azds
could be required for some commands:
drwxr-xr-x 3 root root 4096 Jan 24 19:56 .azds
Not so sure how during the installation process .azds
ended up being owned by root. Please note that az-cli is also own by root in my environment and maybe during az aks use-dev-space
is the moment in which this folder gets created for the first time. Also, full answers below:
- Where is the azds binary located on your machine? Is it in a protected folder?
/home/parallels/lib/azds-cli
drwxr-xr-x 4 root root 20480 Jan 21 10:40 azds-cli
- Do you have access the the /tmp folder on your machine? That's where azds writes logs. If so, can you try sharing some example logfiles?
a. /tmp: I do not own the folder but yes, I do have access (rwt)
b. /tmp/Azure Dev Spaces/: I am the owner, and also I have access in there (rwx)
$ cat /tmp/Azure\ Dev\ Spaces/azds-cli-2019-01-29-13-45-50-1486.txt
"2019-01-29T13:45:50.6595364Z" : {"eventName":"Command.Start","properties":{"arguments":"--version"},"metrics":null}(version=0.1.20190116.6)(apiVersion=2.8)(subscriptionId=d0d422cd-e446-42aa-a2e2-e88806508d3b)(CommandId=b9062e5d-4f27-49bc-b33b-536fedfdef81)(ProcessId=1486)
"2019-01-29T13:45:50.8485196Z" : {"eventName":"Command.End","properties":{"arguments":"--version","successful":"True"},"metrics":{"duration":215.0}}(version=0.1.20190116.6)(apiVersion=2.8)(subscriptionId=d0d422cd-e446-42aa-a2e2-e88806508d3b)(CommandId=b9062e5d-4f27-49bc-b33b-536fedfdef81)(ProcessId=1486)
- Can you run azds --version and report back what version of azds you're using?
Azure Dev Spaces CLI (Preview)
0.1.20190116.6
please note that executing
azds --version
do not require sudo and it does write /tmp/Azure Dev Spaces folder as shared above.
OS: Ubuntu 16.04.5 LTS
Others: virtualized over Parallels
Please feel free to close this issue if your consider this is strictly related to my environment setup.
from dev-spaces.
Related Issues (20)
- Unable to connect to Azure Dev Spaces HOT 8
- Including a gitignored file still not working HOT 6
- Error when starting a debug session with LPK after elevating permissions for changes to IIS and host file HOT 9
- 502 error responses from *.weu.azds.io/api/v3.2/userpod HOT 1
- LPK errors out with a vague error dialog box when running multiple pods of the same name. HOT 2
- Bridge to Kubernetes GA HOT 4
- azds up hangs on Waiting for container image build... HOT 5
- Synchronization timeouts (Dev Spaces) HOT 149
- Minimal Set of Permissions Required to use Azure Dev Space HOT 3
- Azure Dev Spaces is retiring on 31 October 2023 HOT 3
- Dev Space Controller Keeps Failing HOT 1
- Dev Spaces Controller in "Failed" State HOT 3
- This version of Kubernetes is no longer supported. Please upgrade your cluster to a supported Kubernetes version and retry. HOT 8
- Can't install CLI HOT 6
- EndpointManager launch process fail HOT 11
- RoutingManager fails with Null ref in AddLoadBalancerTriggersAsync' HOT 7
- Failed to get deployment status when enable routing isolation HOT 4
- Creating new spaces with azds space select isn't working HOT 12
- Support Workspace Trust
- Support virtual workspaces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev-spaces.