Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get version without writable directory #1211

Open
vetsin opened this issue May 16, 2024 · 1 comment
Open

Cannot get version without writable directory #1211

vetsin opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vetsin
Copy link
Contributor

vetsin commented May 16, 2024

Describe the bug
one cannot run devenv version unless CWD is writable

To reproduce

cfc0bd017ecc:/tmp$ devenv version
devenv 1.0.5 (aarch64-linux)
cfc0bd017ecc:/tmp$ pwd
/tmp
cfc0bd017ecc:/tmp$ cd /
cfc0bd017ecc:/$ pwd
/
cfc0bd017ecc:/$ devenv version
thread 'main' panicked at devenv/src/main.rs:282:45:
Failed to create .devenv/gc directory: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Version

devenv 1.0.5 (aarch64-linux)

@vetsin vetsin added the bug Something isn't working label May 16, 2024
@domenkozar
Copy link
Member

cc @k3yss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants