Page tree

Versions Compared

Key

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

...

Standardizing Across Operating Systems - Moving files with ACLs between operating systems that both support ACLs may not work.

ACLs and Groups

The most scalable way to use ACLs is to apply groups an we will start learning with an example.

The scenario is we want to provide website hosting for two different clients who we will start by categorizing into two different groups,

UserGroupWeb DirectoryFile AccessDirectory Access
Daily Planet Employeesdailyplanetwg/home/www.dailyplanet.com/Read, Write and ExecuteRead, Write and Execute
LexCorp Employeeslexcorpwg/hom/www.lexcorp.com/Read, Write and ExecuteRead, Write and Execute
Apache Serverwww-data/home/www.dailyplanet.com/
/home/www.lexcorp.com/
ReadRead and Execute (required to transverse directories)

We do not want employees from different companies access or even have awareness of each other's web directory.

References

Good introduction from the Ubuntu docs - https://help.ubuntu.com/community/FilePermissionsACLs

...