| 1 |
<samba:parameter name="acl flag inherited canonicalization" |
| 2 |
context="S" |
| 3 |
type="boolean" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para>This option controls the way Samba handles client requests setting |
| 7 |
the Security Descriptor of files and directories and the effect the |
| 8 |
operation has on the Security Descriptor flag "DACL |
| 9 |
auto-inherited" (DI). Generally, this flag is set on a file (or |
| 10 |
directory) upon creation if the parent directory has DI set and also has |
| 11 |
inheritable ACEs. |
| 12 |
</para> |
| 13 |
|
| 14 |
<para>On the other hand when a Security Descriptor is explicitly set on |
| 15 |
a file, the DI flag is cleared, unless the flag "DACL Inheritance |
| 16 |
Required" (DR) is also set in the new Security Descriptor (fwiw, DR is |
| 17 |
never stored on disk).</para> |
| 18 |
|
| 19 |
<para>This is the default behaviour when this option is enabled (the |
| 20 |
default). When setting this option to <command>no</command>, the |
| 21 |
resulting value of the DI flag on-disk is directly taken from the DI |
| 22 |
value of the to-be-set Security Descriptor. This can be used so dump |
| 23 |
tools like rsync that copy data blobs from xattrs that represent ACLs |
| 24 |
created by the acl_xattr VFS module will result in copies of the ACL |
| 25 |
that are identical to the source. Without this option, the copied ACLs |
| 26 |
would all lose the DI flag if set on the source.</para> |
| 27 |
</description> |
| 28 |
|
| 29 |
<value type="default">yes</value> |
| 30 |
</samba:parameter> |