Skip to content

Instantly share code, notes, and snippets.

@geyang
Last active June 30, 2019 19:51
Show Gist options
  • Save geyang/56d76509bbe33bae019d942fad7da11b to your computer and use it in GitHub Desktop.
Save geyang/56d76509bbe33bae019d942fad7da11b to your computer and use it in GitHub Desktop.
How to setup shared folder writing with ml-logger.md

firs create a group, add users to that group se the folder to this group, recursively if this takes too long, use glob patterns to select the top k-levels

  1. sudo chgrp -R /checkpoint/geyang
  2. sudo chmod -R 2777 /checkpoint/geyang
  3. when running logger, use umask 0 to make sure all files are written with 777 permission.

For all instances writing, really need to umask 0 to make sure that files are writable from multible accounds. For exisiting files written by different user accounts, use chmod -R 2777 to amend the permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment