Skip to main content

Mounting ACL enabled File Systems

Supporting ACLs for files or directories in which the partition contains must be mounted with the acl option.

# mount -t ext4 -o acl /dev/test_vg0/test_lv0 /test

If you want to make it persistent using /etc/fstab 

/dev/test_vg0/test_lv0 /test   ext4   acl   1 2

/test directory can be accessed via smb or nfs. Both file services support access control lists. When mounting /test from a nfs client noacl option must be used in order to disable ACLs.


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.