Logo Microtux

MicroTux

ACL file permissions

11-07-2016

With SUID and GUID, character is put in place of the x (execute in the overview)
A small s means execute permission is set a large S No execute permission!
With sticky bit this is a T or a t
Note !!! File delete is a directory permission!!! If a user has write permissions on a dir he can delete any file.
Example: a dir on which user lori has the w rights can delete a file with the owner root!

ACL: umask gives e.g. 0022 or 0002. The trick is subtract the mask from the permissions 777.
With ACL: getfacl gives the permissions and setfacl set permissions.
CAUTION!!! When querying the contents of the dir via ls -l you will not get the right info. If ACL is active on this dir you will see a + behind it.