Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed ACL on my Ubuntu:

aptitude install acl

What is the next step ? /etc/fstab ?

  # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=54dd976c-b95d-4f44-b4f7-516107dbed85 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda2 during installation
    UUID=b03c5549-9b4a-444f-a1ff-6c1e3c767836 none            swap    sw              0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Thank you

share|improve this question

ext4 ACL are not enabled by default (at least on a debian squeeze). So, your way is to add the acl option in your /etc/fstab

…
UUID=54dd976c-b95d-4f44-b4f7-516107dbed85 /               ext4    errors=remount-ro,acl ,0       1
…

… and to avoid a reboot, you can apply it immediatly :

# mount -oremount /

(can't believe it's not enabled by default…)

share|improve this answer

getfacl(1)

setfacl(1)

Some filesystems may need acl added to their mount options, but I believe most use it by default.

share|improve this answer
    
@Ignacio Vazquez-Abrams i have edited my question, please take a look at the fstab. Do I have to change something ? thank you – Damiano Apr 26 '11 at 10:12
    
Some filesystems may need acl added to their mount options, but I believe most use it by default. – Ignacio Vazquez-Abrams Apr 26 '11 at 10:14
    
@Ignacio Vazquez-Abrams ok perfect! last question... if I set permission to /home/test... also all the directory inside this will have the same permissions, right? – Damiano Apr 26 '11 at 10:19
    
ACLs take effect per filesystem object, and setfacl is not recursive by default. – Ignacio Vazquez-Abrams Apr 26 '11 at 10:20
    
OMG, if i have 300 directories inside i have to write 300 time setfacl? :-( – Damiano Apr 26 '11 at 10:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .