Access control list (ACL) provides an additional, more flexible permission mechanism for file systems. It is designed to assist with UNIX file permissions. ACL allows you to give permissions for any user or group to any disk resource. For more information, see the [wikipedia][1] page.
Standart ACL
## Show ACL
============
Access control list (ACL) provides an additional, more flexible permission mechanism for file systems. It is designed to assist with UNIX file permissions. ACL allows you to give permissions for any user or group to any disk resource.
Show ACL
========
To show permissions, use:
To show permissions, use:
```code
# getfacl <file/dir>
# getfacl <file/dir>
Examples
Examples
Set all permissions for user johnny to file named abc:
Set all permissions for user johnny to file named abc:
...
@@ -68,16 +64,16 @@ user:solstice:rw-
...
@@ -68,16 +64,16 @@ user:solstice:rw-
group::rw-
group::rw-
mask::rw-
mask::rw-
other::---
other::---
```
## Modify ACL
The ACL can be modified using the setfacl command.
The ACL can be modified using the setfacl command.