Collaboration Directories

It can be very useful to create shared directories that can be read and written by multiple users, or all members of a group.  The linux command setfacl is very useful for this, but can be complicated to use.  Here are some simple scenarios.  We recommend that you create the shared directory in your project dir, rather than home.

Share a directory with all members of of a group (e.g. mygroup):

$ mkdir shared
$ setfacl -m g:mygroup:rwx shared
$ setfacl -d -m g:mygroup:rwx shared 
 

Share a directory with a particular person (e.g. netid aa111):

$ mkdir shared
$ setfacl -m u:aa111:rwx shared
$ setfacl -d -m u:aa111:rwx shared