Skip to content
Snippets Groups Projects
Commit 18b49a7c authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

Merge branch 'bugfix-fix-sticky-bit-and-sgid-in-log-directories' into 'main'

Remove sticky bit from the root log directory and set SGID instead to allow...

See merge request !23
parents 871850a7 e71c737e
No related branches found
No related tags found
2 merge requests!24Release v0.2.0,!23Remove sticky bit from the root log directory and set SGID instead to allow...
......@@ -127,7 +127,7 @@ if [[ ! ${dry_run} ]]; then
log_dir="${outdir}/${log_name}"
mkdir -p ${log_dir}/raw
chmod 1770 ${log_dir}
chmod 2770 ${log_dir}
# tag output file with run metadata
raw_log_file=$(find ${outdir} -maxdepth 1 -name "list-${SLURM_JOBID}*" -type f | head -1)
......@@ -136,7 +136,7 @@ if [[ ! ${dry_run} ]]; then
gzip ${log_dir}/raw/${log_name}
chmod 440 ${log_dir}/raw/${log_name}.gz
chmod 550 ${log_dir}/raw
chmod 1550 ${log_dir}/raw
fi
chown -R ${USER}:atlab ${log_dir}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment