How to Set Access Control Lists (ACL’s) and Disk Quotas for Users and Groups

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

12 Responses

  1. @Nuno,
    You raised an important point. As a general rule, you can access the contents of a directory if and only if you have execute permission on it. So yes, you were right. In the box I used to write this article, user gacanepa had been left as member of the developers group because even though I removed it, I did not log out and log back in to apply changes. My bad. Great catch!
    @Ravi,
    I’ll send you the needed correction via email.

  2. Jalal Hajigholamali says:

    Hi,

    Thanks a lot for nice and useful article

  3. Alex says:

    Great work

    • @Alex,
      Thanks for taking a minute to show your appreciation for your work. Feel free to share :).

      • gagan bajaj says:

        Gabriel I think there must be gap when we try setfacl ganacepa it is not working permission denied..pls explain

        • @gagan,
          Did you enable ACLs? Did you follow the steps outlined in this article? Please provide the exact command (complete) where you are experiencing your error and the exact message.

          • Nuno says:

            @Gabriel,

            Not working for me either :/ double checked all commands, and nothing.. I have ACL’s enabled for this file system.

            Best,
            Nuno

          • @gagan and @Nuno,
            It is working just fine for me. Please refer to this image for details: http://tinypic.com/view.php?pic=11w4whl&s=9

          • Nuno says:

            @Gabriel,

            Not working here. Could you please check if your user gacanepa is not a member of developers group? With my current settings I cant even auto complete the filename with tab, which means that I don’t have permissions even for reading the file.

          • Nuno says:

            @Gabriel,

            I think I found the problem. For this to work, I have to give execution rights to others on the parent directory test for the user to be able to read directory content independently of the ACL rule. Otherwise it doesn’t work.

            sudo chmod -R 775 /mnt/test OR sudo chmod -R 771 /mnt/test

  4. Adit Thaufan says:

    nice tips, thanks :)

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's