This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| acl-script [2015/08/20 12:01] – herwarth | acl-script [2015/08/20 12:03] (current) – herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======ACLs to use with changes====== | ======ACLs to use with changes====== | ||
| <code - / | <code - / | ||
| - | #defaults W< | + | #< |
| + | #defaults | ||
| chmod -R g-s /etc/httpd | chmod -R g-s /etc/httpd | ||
| setfacl -R -b -d -m g::rwX /etc/httpd | setfacl -R -b -d -m g::rwX /etc/httpd | ||
| setfacl -R -b -d -m o::--- /etc/httpd | setfacl -R -b -d -m o::--- /etc/httpd | ||
| - | # Set custom acls | + | #custom acls |
| find /etc/httpd -type d -exec chmod g+s {} \; | find /etc/httpd -type d -exec chmod g+s {} \; | ||
| setfacl -R -d -m g: | setfacl -R -d -m g: | ||
| Line 16: | Line 17: | ||
| setfacl -R -m g: | setfacl -R -m g: | ||
| </ | </ | ||
| + | {{tag> | ||