Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For the "panel" calibration file system (/reg/g/psdm/detector/gains and detector/calib and detector/logs) Mikhail should (a) set the umask to zero and (b) make the file world-writeable when his software is going to create a new file.  Additionally Wilko should set that directory tree such that all new files/directories are owned by group ps-users with "chmod 2777" 2775" (for directories) and 664 (for files) on (the 2000 bit on the directory says that new files inside that directory inherit the ps-users group).  Eventually .  This 2000 bit isn't bulletproof: rsync or cp can override the group, unfortunately, so need to check this with software, where possible.  Eventually we will do that as well for the "gains2" directory for LCLS2, but not yet since that is in development.

There has been a problem in the past with a limit of 16 groups, but so far as we know IT has been able to fix this in all cases.

One Oct. 26, 2022 we did these three commands in /reg/g/psdm/detector/:

  • find . -type d -exec chmod 2775 {} \;
  • find . -type f -exec chmod 664 {} \;
  • find . ! -group ps-users -exec chgrp ps-users {} \;