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

GPU links in host-injections not readable to the world #489

Open
casparvl opened this issue Mar 4, 2024 · 1 comment
Open

GPU links in host-injections not readable to the world #489

casparvl opened this issue Mar 4, 2024 · 1 comment
Labels
bug Something isn't working gpu

Comments

@casparvl
Copy link
Collaborator

casparvl commented Mar 4, 2024

After running link_nvidia_host_libraries.sh the file permissions are:

$ ls -ald /cvmfs/software.eessi.io/host_injections/2023.06/compat/linux/x86_64/lib/
drwxr-x--- 2 userxyz userxyz 4096 Dec 22 14:13 /cvmfs/software.eessi.io/host_injections/2023.06/compat/linux/x86_64/lib/

This made it work for me (I happened to be in the group of userxyz), but not for my colleague (who was not in that group).

Should we have the link_nvidia_host_libraries.sh script do chmod -R o+rX on those symlinks? Or do we prefer to respect the system umask and make a remark in our install documentation that these permissions may need to be adapted?

@casparvl casparvl added bug Something isn't working gpu labels Mar 4, 2024
@ocaisa
Copy link
Member

ocaisa commented Mar 4, 2024

The files are created according to the current UMASK, what we should probably do is check the umask when the script is being run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gpu
Projects
None yet
Development

No branches or pull requests

2 participants