LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2010, 03:47 AM   #1
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
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?
 
Old 06-22-2010, 04:01 AM   #2
aneeshep
LQ Newbie
 
Registered: Apr 2010
Location: India
Distribution: CentOS,Redhat,Ubuntu,Solaris
Posts: 4

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco access control lists master Linux - Networking 3 01-28-2008 01:12 PM
filesystem access control lists sleepylight Linux - Enterprise 1 09-12-2007 12:21 PM
Access Control Lists aaf Linux - Software 2 01-08-2007 11:57 AM
Need help with Access Control Lists GUIPenguin Linux - Security 2 01-06-2006 07:49 AM
Access Control Lists wgriffin43 Linux - Software 2 09-23-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration