As mentioned in Chapter 6, ZFS – Now You Can't Ignore It, chmod
is now responsible for setting ACLs on files. It allows for both a long form and a short form. For convenience, here is a simple table of all ACL types. Please note that some things are only applicable to files, or conversely, to directories. Additionally, sometimes you must use a different verbose name for directories versus files.
It is nice to note that the old standby rwx
letter abbreviations in
chmod
mean the same thing they always have. For convenience, here again is the example usage given previously, to allow user mysql
to write to the file /etc/zshrc
. The first line is equivalent in result to the second one:
chmod A+user:mysql:write_data:allow/etc/zshrc chmod A+user:mysql:w:allow/etc/zshrc
The following is a table with the full set of allowable ACLs:
Abbreviation |
Verbose parameter |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|