cc_staff
782
edits
No edit summary |
(Conditional execute permissions) |
||
Line 200: | Line 200: | ||
<source lang="console"> | <source lang="console"> | ||
$ setfacl -d -m u:smithj:rwx /home/<user>/projects/def-<PI>/shared_data | $ setfacl -d -m u:smithj:rwx /home/<user>/projects/def-<PI>/shared_data | ||
$ setfacl -R -m u:smithj: | # Use X instead of x - it sets execute access only when the item is already executable | ||
$ setfacl -R -m u:smithj:rwX /home/<user>/projects/def-<PI>/shared_data | |||
</source> | </source> | ||