LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access Control Lists - mask? (https://www.linuxquestions.org/questions/linux-newbie-8/access-control-lists-mask-815609/)

arashi256 06-22-2010 03:47 AM

Access Control Lists - mask?
 
Hi,

I am learning how to use ACLs and I mostly get it aside from one thing.

Code:

# setfacl -m user:jon:r-x /home/testuser1
# setfacl -m mask:r-x /home/testuser1

# setfacl -m user:jon:r-- /home/testuser1/project.txt
# setfacl -m mask:r-x /home/testuser1/project.txt

The above sets read/execute access to testuser1's home directory and read access to the project.txt file for the user jon. This, I understand. What's the "mask" entry all about? Can someone explain that?

aneeshep 06-22-2010 04:01 AM

the 'mask' refered here is nothing but the umask.
see the url http://en.wikipedia.org/wiki/Umask


All times are GMT -5. The time now is 04:59 PM.