Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
getfacl ./www.dailyplanet.com/
# file: www.dailyplanet.com
# owner: ckent
# group: wgdailyplanet
user::rwx
group::rwxr-x
group:www-data:r-x
group:staff:r-x
group:wgdailyplanet:rwx
mask::rwx
other::---

...

Code Block
languagebash
getfacl --default ./www.dailyplanet.com/
# 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::---

If you want to see what the applied and default look like dont specify

Code Block
languagebash
getfacl ./www.dailyplanet.com/
# 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::---
default:user::rwx
default:group::r-x
default:group:www-data:r-x
default:group:staff:r-x
default:group:wgdailyplanet:rwx
default:mask::rwx
default:other::---

 

Repeat the same steps for www.lexcorp.com and change the group accordingly,

...