In Linux, each file has a specific attribute. Mainly includes the file type and the file permission two aspects. Can be divided into 5 different types: Normal files, directory files, linked files, device files, and piping files.
The so-called file permissions, refers to the file access rights, including the file read, write, delete, execution. Linux is a multi-user operating system that allows multiple users to log in and work at the same time. So Linux links a file or directory to a user or group. The access control list, which provides better access control for your computer, restricts access to files, resources, or sockets for all users, including the root user (acl:access). Here is a simple way to set up.
Step 1 Check the system core
First check to see if the core of your Linux system has the ability to support ACLs. Since Linux does not have the ability to support ACLs at the core of every release, the easiest way to do this is to check whether the system's current core supports:
[Root@mail/]# cat/boot/config-kernel-version grep-i ext3
At this point, if you see the above items, you are already compiled into the core. The,ext3_blank> file system already supports ACL functionality, which can be found in the compilation core options. If you cannot find it at compile time, you can install kernel (http://acl.bestbits.at/) on the official ACL site.
Step 2 Mount Partition
You can mount partitions and enable ACLs in the following ways:
#mount-T Ext3-o ACL/DEV/SDA1/FS1
You can also write directly in the/etc/fstab file so that you can support ACL functionality after powering on: