Versions Compared

Key

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

...

Access rights can also be granted recursively to a folder and its children (if they exist) using the option -R, --recursive.  Note this applies only to existing files. New files created in there won't inherhit the permissions.

Code Block
languagebash
themeRDark
$ setfacl -R -m user:user2 test

$ getfacl test/subdir
# file: test/subdir
# owner: user1
# group: csstaff
user::rwx
user:user2:rwx
group::---
group:csstaff:r-x
mask::rwx
other::---

...