Versions Compared

Key

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

...

Code Block
languagebash
themeRDark
$ ls -lahd test/
drwxr-xr-x 2 pasmarco<username> csstaff 4.0K Feb 23 13:46 test/ 

...

Code Block
languagebash
themeRDark
$ getfacl test
# file: test
# owner: pasmarco<username>
# group: csstaff
user::rwx
group::r-x
other::r-x  

...

Code Block
languagebash
themeRDark
$ setfacl -m user:<username>:rw test/

$ getfacl test/
# file: test
# owner: pasmarco<username>
# group: csstaff
user::rwx
user:<username>:rw
group::r-x
mask::rwx
other::r-x

...

Code Block
languagebash
themeRDark
$ setfacl -x user:<username> test/

$ getfacl test/
# file: test
# owner: pasmarco<username>
# group: csstaff
user::rwx
group::r-x
mask::rwx
other::r-x

...

Code Block
languagebash
themeRDark
$ setfacl -dm user:<username>:rw test/

$ getfacl test
# file: test
# owner: pasmarco<username>
# group: csstaff
user::rwx
group::r-x
mask::rwx
other::r-x
default:user::rwx
default:user:<username>:rw
default:group::r-x
default:mask::rwx
default:other::r-x

...