Skip to content

Instantly share code, notes, and snippets.

@amekusa
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save amekusa/9f027f900c6d5704de53 to your computer and use it in GitHub Desktop.

Select an option

Save amekusa/9f027f900c6d5704de53 to your computer and use it in GitHub Desktop.
Shared Directory

Make a directory sharable

chmod g+s $(find /path/to/dir -type d)
chgrp -R mygroup /path/to/dir

Add an user to a group

gpasswd -a user group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment