Source: http://supercomputers.aei.mpg.de/user-guide-2/lustre-file-system-acls-quota/
How to give permissions to a certain directory inside your home:
- Set the permissions of your home to
710
chmod 710 /home/youruser
- Set the permissions to the
externaluser
to adirectory
inside your home (This can berwx
,rw
,r-x
, etc.)
lfs lsetfacl -m user:externaluser:rwx /home/youruser/path/to/directory
This will grant permission only on that directory, not recursively to the inner directories,
if you want to do it recursively, use -Rm
instead of -m
.
If you want to remove the externaluser
permissions
lfs lsetfacl -x externaluser /home/youruser/path/to/directory