Wednesday, June 5, 2013

Setting default umask using setfacl

I have directory where data is stored, /data (creative eh). Under there I have various directories and needed them to have a default umask of rws for the group associated with them.

chmod g+s /data/subdir1
setfacl -d -m g:mygroup:rwx /data/subdir1

Solution here