Skip to content

Check group permissions, and make sure correct group permissions are used#11

Open
marii-moe wants to merge 4 commits intoMedARC-AI:mainfrom
marii-moe:cache_permissions
Open

Check group permissions, and make sure correct group permissions are used#11
marii-moe wants to merge 4 commits intoMedARC-AI:mainfrom
marii-moe:cache_permissions

Conversation

@marii-moe
Copy link
Copy Markdown
Contributor

@marii-moe marii-moe commented Apr 9, 2026

Summary

  • SLURM job scripts (one_node_rl.j2, one_node_sft.j2) now check that the submitting user is a member of the hpcroot group before creating any directories
  • SLURM jobs automatically user the correct group that is on the HF_CACHE_DIR
  • In the event the HF_CACHE_DIR is not created, will use the directory above HF_CACHE_DIR to make these checks.

This is to prevent the case for which users are allowed to write to the directory(in the group), but their session does not know they are part of the group. Then make sure that all files have the correct group setting.

@marii-moe marii-moe marked this pull request as ready for review April 9, 2026 23:39
@marii-moe marii-moe changed the title Fail early if user lacks hpcroot group membership Check group permissions, and make sure correct group permissions are used Apr 10, 2026
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

Successfully merging this pull request may close these issues.

1 participant