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

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum