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

run.sh has root-only permissions #4

Open
aeszter opened this issue Dec 14, 2021 · 1 comment
Open

run.sh has root-only permissions #4

aeszter opened this issue Dec 14, 2021 · 1 comment

Comments

@aeszter
Copy link

aeszter commented Dec 14, 2021

After following the instructions, /opt/alphafold/run.sh is root:root 750, so it cannot be run by ordinary users.
Maybe this is a umask problem? I use 027, but I would expect this to be ignored by anything that resembles a build system (where permissions are usually explicitly defined, so a umask doesn't make much sense).

@hyoo
Copy link
Owner

hyoo commented Jan 22, 2022

well, in my build, /opt/alphafold/run.sh is 755

Singularity> ls -al /opt/alphafold/
total 79
drwxrwxr-x. 8 root root   297 Jan 22 01:27 .
drwxr-xr-x. 9 root root   237 Jan 22 01:27 ..
-rw-rw-r--. 1 root root    32 Jan 22 01:24 .dockerignore
drwxrwxr-x. 8 root root   184 Jan 22 01:24 .git
-rw-rw-r--. 1 root root   973 Jan 22 01:24 CONTRIBUTING.md
-rw-rw-r--. 1 root root 11358 Jan 22 01:24 LICENSE
-rw-rw-r--. 1 root root 28678 Jan 22 01:24 README.md
drwxrwxr-x. 7 root root   103 Jan 22 01:24 alphafold
drwxrwxr-x. 2 root root    98 Jan 22 01:24 docker
drwxrwxr-x. 2 root root    63 Jan 22 01:24 imgs
drwxrwxr-x. 2 root root    38 Jan 22 01:24 notebooks
-rw-rw-r--. 1 root root   207 Jan 22 01:24 requirements.txt
-rwxr-xr-x. 1 root root  4613 Jan 22 01:16 run.sh
-rw-rw-r--. 1 root root 17927 Jan 22 01:24 run_alphafold.py
-rw-rw-r--. 1 root root  3381 Jan 22 01:24 run_alphafold_test.py
drwxrwxr-x. 2 root root   326 Jan 22 01:24 scripts
-rw-rw-r--. 1 root root  1999 Jan 22 01:24 setup.py

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