1 <samba:parameter name="directory security mask"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This parameter controls what UNIX permission bits
7 will be set when a Windows NT client is manipulating the UNIX
8 permission on a directory using the native NT security dialog
12 This parameter is applied as a mask (AND'ed with) to the incoming permission bits, thus resetting
13 any bits not in this mask. Make sure not to mix up this parameter with <smbconfoption name="force
14 directory security mode"/>, which works similar like this one but uses logical OR instead of AND.
15 Essentially, zero bits in this mask are a set of bits that will always be set to zero.
19 Essentially, all bits set to zero in this mask will result in setting to zero the corresponding bits on the
20 file permissions regardless of the previous status of this bits on the file.
23 <para>If not set explicitly this parameter is set to 0777
24 meaning a user is allowed to set all the user/group/world
25 permissions on a directory.</para>
27 <para><emphasis>Note</emphasis> that users who can access the
28 Samba server through other means can easily bypass this restriction,
29 so it is primarily useful for standalone "appliance" systems.
30 Administrators of most normal systems will probably want to leave
31 it as the default of <constant>0777</constant>.</para>
34 <related>force directory security mode</related>
35 <related>security mask</related>
36 <related>force security mode</related>
37 <value type="default">0777</value>
38 <value type="example">0700</value>