-
Notifications
You must be signed in to change notification settings - Fork 3
Description
This has become an issue because files are being migrated
to the RDA from Campaign Storage by people outside our group.
They need global read permission on the files and directories in
/gpfs/csfs1/cisl/dares/Reanalyses/f.e21.FHIST_BGC.f09_025.CAM6assim.011
I've been migrating files to CS using globus
because that was the only way at the beginning,
it has automatic failure recovery,
and it saves some core hours by moving the files
asynchronously after the submission job ends.
But globus generally can't control the permissions
of the files it creates. They are created according
to the umask of the destination environment.
I don't know how to access the umask used for CS.
See https://docs.globus.org/faq/transfer-sharing/
#how_do_i_control_file_permissions_during_transfers
The suggestions on that site didn't look appealing.
So our files on campaign storage end up without global read permission.
The simplest and probably least reliable solution
is to manually change the permissions after each complete year
is copied to CS. Unless we want the migration of data to RDA
to happen more frequently, which would require more frequent
manual changes.
It would be great to include a few lines in the Reanalyis scripts
to change the permissions automatically, but at least some
of the changes need to be made after all of the current scripts
have finished.
So some of the options seem to be:
- Abandon globus and recode using rsync(?) and any needed error recovery,
and pay the extra core-hours. - Use globus and manually update the permissions as needed.
- Add an additional script to the workflow that would change the permissions,
which would be run manually as needed.
Other ideas? Context?