Thursday, January 27, 2011

How to enable ACLs by default on all filesystems?

Is there a way in linux to make "acl" part of the default mount options, so that it does not need to be specified individually for each filesystem in fstab?

  • I don't believe there's any facility in mount or /etc/fstab to set defaults. You will need to specify acl for each filesystem. Why is this a problem?

    Ryan Thompson : Not a huge problem, but I was just wondering if there was a config file that would let me say "I want ACLs for the whole system."
  • If you just want to clean up /etc/fstab, then you should be able to change the FS metadata to put acls into the default mount options on a per-FS basis. Not really buying you much, as it moves the important data out of sight and so will be forgotten when it comes time to rebuild, unless you have a strong documentation culture.

    Ryan Thompson : Yeah, that's why I was hoping for a config file somewhere instead.
    From Phil P

0 comments:

Post a Comment