Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).

Files ACL

Set default acl for a directory

My default umask is 027, which denied access to apache ~asyd/public_html. I use setfacl to change the umask to 022 for this directory and all childrens

setfacl -m d:m:rwx,d:u::rwx,d:g::r-x,d:o:r-x public_html
setfacl -m default:o:r-x  public_html