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
permission denied to ~/.nimble/pkgs is fatal #748
Comments
Ditto |
I just set $TMPDIR is a different story though since nimblecache lives there. |
How is that useful? |
To test whether |
Here's a reproduction that demonstrates my problem: $ chmod 0 ~/.nimble
$ nimble dump
oserr.nim(94) raiseOSError
Error: unhandled exception: Permission denied
Additional info: "/home/adavidoff/.nimble/pkgs" [OSError]
$ nimble test
oserr.nim(94) raiseOSError
Error: unhandled exception: Permission denied
Additional info: "/home/adavidoff/.nimble/pkgs" [OSError] When I cannot control the behavior of software I do not trust, I do not use that software. |
PR #768 will fix the issue around the However, we still rely on $TMPDIR for nimblecache so that has no real fix. |
Sure but forbidding Nimble access to |
Either Nimble is intended to require read access to ~/.nimble or it isn't. Since you asked, I think I am fine with closing this ticket if this is the intended behavior; I just felt that the error message suggested otherwise. |
I cannot use commands such as
test
,dump
,check
,doc
, etc. when Nimble doesn't have permission to~/.nimble/pkgs
.The text was updated successfully, but these errors were encountered: