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

0.8.0 Bug: OS error: Permission denied #272

Closed
tandy-1000 opened this issue Oct 3, 2021 · 4 comments
Closed

0.8.0 Bug: OS error: Permission denied #272

tandy-1000 opened this issue Oct 3, 2021 · 4 comments

Comments

@tandy-1000
Copy link

tandy-1000 commented Oct 3, 2021

After running choosenim update self, choosenim update devel, and choosenim devel, I get the following error:

$ nim
     Error: Spawning of process failed. (Error was: Additional info: "Could not find command: \'/home/tandy/.choosenim/toolchains/nim-#devel/bin/nim\'. OS error: Permission denied")
      Info: If unexpected, please report this error to https://github.com/dom96/choosenim

I managed to fix the error by running sudo chmod +x ~/.choosenim/toolchains/nim-#devel/bin/nim.

@tandy-1000 tandy-1000 changed the title Choosenim 0.8.0 Bug: OS error: Permission denied 0.8.0 Bug: OS error: Permission denied Oct 3, 2021
@geotre
Copy link

geotre commented Oct 4, 2021

Same error here, with a fresh install of choosenim, then running choosenim stable. During the (first) run of choosenim stable I also get ./init.sh: 90: SHELL: parameter not set

@jiro4989
Copy link

jiro4989 commented Oct 4, 2021

Same error here, with a fresh install of choosenim, then running choosenim stable. During the (first) run of choosenim stable I also get ./init.sh: 90: SHELL: parameter not set

@geotre Try this code.

export SHELL=/bin/sh
./init.sh

@iffy
Copy link
Contributor

iffy commented Oct 4, 2021

I think this permission error is probably related to the move to zippy for extracting files? Perhaps zippy doesn't preserve file permissions?

@iffy
Copy link
Contributor

iffy commented Oct 5, 2021

I've submitted a PR to zippy to preserve file permissions: guzba/zippy#32

@dom96 dom96 closed this as completed in 950d19e Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants