How to access files belonging to someone else or another project

Users are allowed to change the default permissions file permissions in all folders they own. The default access rights to INCD filesystem is the folllowing:

/home

/data

Example on how to change permissions for user abc123 belonging to group xyz:

//1 listening the files on a given folder

ls -l 
drwxr--r-- 1 abc123 xyz      4096 Nov 25 11:03 mydir
-rwxr-xr-- 1 abc123 xyz   4126231 Nov 25 15:42 myfile

//2 Changing file permissions 

setfacl -Rm   u:def456:rwx mydir 
setfacl -Rm d:u:def456:rwx mydir (this options only applies to new files)

//2 Changing file permissions

setfacl -Rm   g:abc:rwx mydir 
setfacl -Rm d:g:abc:rwx mydir (this options only applies to new files)

NOTE We don’t recommend using chmod o+r, chmod o+w, or chmod o+x to give non-group members access to your project’s files. Instead, you should use access control lists to limit the access privileges of specific users


Revision #7
Created 24 April 2019 16:30:17 by João Pina
Updated 19 November 2019 20:35:14 by Jorge Gomes