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

building error for cosmicos #38

Open
dmkunsman opened this issue Apr 23, 2022 · 4 comments
Open

building error for cosmicos #38

dmkunsman opened this issue Apr 23, 2022 · 4 comments

Comments

@dmkunsman
Copy link

Hello, I am trying to build ./make.sh tiny and I am getting this error and I don't know why
/bin/bash: src/prepare_node.sh: Permission denied

@dmkunsman
Copy link
Author

and just another note; I do have execute permissions on make.sh and prepare_node.sh

@paulfitz
Copy link
Owner

Hi @dmkunsman, I expect it is a user id mismatch when running docker. Are you on Windows by any chance? I haven't tried the script on Windows, and this part might need tweaking:

cosmicos/make.sh

Lines 20 to 23 in f1bfda9

if [[ -n "$UID" && -n "$USER" ]]; then
# run docker as current user for convenience
args="-u=$UID:$(id -g $USER)"
fi

@dmkunsman
Copy link
Author

dmkunsman commented Apr 25, 2022 via email

@paulfitz
Copy link
Owner

Hmmm, any chance you've tried running it as different users? Maybe try killing the build container with docker kill cosmicos_build so one try isn't affecting the next try.

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

2 participants