conda-pack
conda-pack copied to clipboard
trivial fix: executable files are not marked as executable correctly
Checklist
- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate
What happened?
Hello
I've had the following issue. When an env is created by a user and used by another user. The second user is unable to execute scripts, permissions error because .../bin/xxx executables do not have the executable flag.
Looking at the code, conda-pack is setting 0o111 flag on binaries. Unfortunately that only allows execution for the current user.
It should be 0o555, to allow execution by all users.
Would you be able to correct the two lines of code? I'd send a PR but it's a bit challenging for me to figure out your development workflow and news and linters and contributor agreements.
Thanks.