Sharing directories

From LWP-Wiki
Revision as of 13:06, 9 April 2021 by Chris (talk | contribs) (Created page with "Category:misc-faq If you need to share a directory between a number of people, you can use part of your home directory.<br/> You can also ask for a separate, appropriately...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you need to share a directory between a number of people, you can use part of your home directory.
You can also ask for a separate, appropriately-named, directory outside of your homedir, of which you will be the owner, and to which you can grant others access using ACL's.

 info nfs4_setfacl

And also see the NFSv4 HowTo.

Please be aware that we are fairly new to ACL's over NFSv4, and this service is still a bit experimental.

Hier is een uitgebreide handleiding: https://www.osc.edu/book/export/html/4523

Hier alvast de belangrijkste dingen in 't kort. Om een directory of file leesbaar te maken: nfs4_setfacl -a A::<username>@rug.nl:RX <dir/file> Met RWX in hoofdletters ipv. kleine letters.

Je kunt 'default' ACLs zetten voor een directory of file; ACL's die een nieuwe file automatisch krijgen. Om te zorgen dat nieuwe sub directories dezelfde ACL overerven: $ nfs4_setfacl -a A:d:<username>@rug.nl:RX <dir> Voor nieuwe files: $ nfs4_setfacl -a A:f:<username>@rug.nl:R <dir>

Je kunt de ACLs ook bewerken met nfs4_editfacl <file/dir>. Ook al zie je daar andere permissies, kun je zelf gewoon RWX gebruiken, dat wordt automatisch vertaald.