...
Code Block | ||
---|---|---|
| ||
setfacl -Rm g:wglexcorp:rwX lexcorp getfacl --access ./lexcorp/ | sudo setfacl -d -RM - ./lexcorp/ cd lexcorp mkdir www blog |
Next move the web folder to the opt directory and make serveradmin:staff own it
Code Block | ||
---|---|---|
| ||
cd ~
sudo mv web /opt/
cd /opt/
sudo chown -R serveradmin:staff web |
Repeat the same steps for lexcorp and change the group accordingly,
...