Skip to content

files in ENROOT_CACHE_PATH not group readable #969

@mathrock74

Description

@mathrock74

the files created by enroot in ENROOT_CACHE_PATH are not readable by the group and therefore can't be used by other users
I solved this for me with adding

cache_path="$(sudo -u "$SLURM_JOB_USER" sh -c 'echo "/var/lib/enroot-cache/group-$(id -g)"')"
find "$cache_path" -type f -exec chmod 0660 {} \;

to /etc/slurm/epilog.d/50-lastuserjob-all-enroot-dirs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions