LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ACL question (https://www.linuxquestions.org/questions/slackware-14/acl-question-4175498726/)

kenw232 03-19-2014 08:51 AM

ACL question
 
In slackware 14.1, how can I force all new files & directories under a specific directory to have the permissions 664 and all folders to have 775? So this change should/would override the umask which typically makes new files 644.

kenw232 03-19-2014 10:53 AM

I think I got it.

setfacl -d -R -P -m u::rwx directory
setfacl -d -R -P -m g::rwx directory
setfacl -d -R -P -m o::rx directory


All times are GMT -5. The time now is 02:09 PM.