Versions Compared

Key

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

...

Tip

To apply operations to all files and directories recursively, append the -R argument.

$ITMWORK

To make $ITMWORK visible (read access) to everyone:

Code Block
setfacl -R -m o::rx $ITMWORK

Available for the selected group (for example g2itmuse):

Code Block
setfacl -R -m g:g2itmuse:rx $ITMWORK

ACL at /afs

Show ACL

To show permissions, use fs la command:

...

Tip

How to copy ACL:

Code Block
fs copyacl -fromdir <dir1> -todir <dir2>


$HOME/public

To give read access to ~ / public for everyone:

Code Block
fs setacl -dir ~/public -acl system:anyuser rl

To give read access recursively for all directories in ~ / public:

Code Block
find ~/public -type d -exec fs setacl -dir {} -acl system:anyuser rl \;


Info
title Acknowledgement

This work has been carried out within the framework of the EUROfusion Consortium and has received funding from the Euratom research and training programme 2014-2018 under grant agreement No 633053.The scientific work is published for the realization of the international project co-financed by Polish Ministry of Science and Higher Education in 2019 and 2020 from financial resources of the program entitled "PMW"; Agreement No. 5040/H2020/Euratom/2019/2 and 5142/H2020-Euratom/2020/2”.