...
Code Block | ||
---|---|---|
| ||
getfacl ./www.dailyplanet.com/ # file: www.dailyplanet.com # owner: ckent # group: ckent user::rwx group::rwx group:www-data:r-x group:staff:r-x group:wgdailyplanet:rwx mask::rwx other::--- default:user::rwx default:group::rwx default:group:www-data:r-x default:group:staff:r-x default:group:wgdailyplanet:rwx default:mask::rwx default:other::--- |
Don't be alarmed that you see x on the groups www-data, staff and wgdailyplanet. That is normal *nix convention it means that execute permission will only be applied on directories. Files will be default not have execute permission applied.
...
Code Block | ||
---|---|---|
| ||
getfacl --default ./www.dailyplanet.com/ # Roderick put listing here after you practice.file: www.dailyplanet.com/ # owner: ckent # group: wgdailyplanet |
Apply changes to the default ACLs,
...
Code Block | ||
---|---|---|
| ||
getfacl --default ./www.dailyplanet.com/ # Roderick put listing here after you practice.file: www.dailyplanet.com/ # owner: ckent # group: wgdailyplanet user::rwx group::r-x group:www-data:r-x group:staff:r-x group:wgdailyplanet:rwx mask::rwx other::--- |
Repeat the same steps for www.lexcorp.com and change the group accordingly,
...