Some update and Fixes for typos.
[kai/samba.git] / docs / docbook / smbdotconf / security / directorysecuritymask.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="DIRECTORYSECURITYMASK"/>directory security mask (S)</term>
3                 <listitem><para>This parameter controls what UNIX permission bits 
4                 can be modified when a Windows NT client is manipulating the UNIX 
5                 permission on a directory using the native NT security dialog 
6                 box.</para>
7
8                 <para>This parameter is applied as a mask (AND'ed with) to 
9                 the changed permission bits, thus preventing any bits not in 
10                 this mask from being modified. Essentially, zero bits in this 
11                 mask may be treated as a set of bits the user is not allowed 
12                 to change.</para>
13
14                 <para>If not set explicitly this parameter is set to 0777
15                 meaning a user is allowed to modify all the user/group/world
16                 permissions on a directory.</para>
17
18                 <para><emphasis>Note</emphasis> that users who can access the 
19                 Samba server through other means can easily bypass this restriction, 
20                 so it is primarily useful for standalone &quot;appliance&quot; systems.  
21                 Administrators of most normal systems will probably want to leave
22                 it as the default of <constant>0777</constant>.</para>
23
24                 <para>See also the <link linkend="FORCEDIRECTORYSECURITYMODE"><parameter moreinfo="none">
25                 force directory security mode</parameter></link>, <link linkend="SECURITYMASK"><parameter moreinfo="none">security mask</parameter></link>, 
26                 <link linkend="FORCESECURITYMODE"><parameter moreinfo="none">force security mode
27                 </parameter></link> parameters.</para>
28
29                 <para>Default: <command moreinfo="none">directory security mask = 0777</command></para>
30                 <para>Example: <command moreinfo="none">directory security mask = 0700</command></para>
31                 </listitem>
32                 </samba:parameter>