Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed chmod.

...

Code Block
languagebash
sudo /home/
# Normal permissions
sudo chown -R svradm:svradm ./www.dailyplanet.com/
sudo chmod -R 750o-rwx ./www.dailyplanet.com/
# ACL permissions
sudo setfacl -Rm g:wgdailyplanet:rwx ./www.dailyplanet.com/
sudo setfacl -Rm g:www-data:r ./www.dailyplanet.com/
sudo setfacl -Rm g:staff:r ./www.dailyplanet.com/

...

Code Block
languagebash
sudo /home/
# Normal permissions
sudo chown -R svradm:svradm ./www.lexcorp.com/
sudo chmod -R 750o-rwx ./www.lexcorp.com/
# ACL permissions
sudo setfacl -Rm g:wglexcorp:rwx ./www.lexcorp.com/
sudo setfacl -Rm g:www-data:r ./www.lexcorp.com/
sudo setfacl -Rm g:staff:r ./www.lexcorp.com/
# Apply default ACLs
getfacl --access ./www.lexcorp.com/ | sudo setfacl -d -RM - ./www.lexcorp.com/

...