Removal of CRUFT. 50 lashes to those who created CRUFT. Argh.
[Samba.git] / docs / smbdotconf / security / createmask.xml
blob7f9f93caaa914283e3e7ca0e180e4f991f0a2636
1 <samba:parameter name="create mask"
2                  context="S"
3                                  type="string"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <synonym>create mode</synonym>
7 <description>
8     <para>When a file is created, the necessary permissions are 
9     calculated according to the mapping from DOS modes to UNIX 
10     permissions, and the resulting UNIX mode is then bit-wise 'AND'ed 
11     with this parameter. This parameter may be thought of as a bit-wise 
12     MASK for the UNIX modes of a file. Any bit <emphasis>not</emphasis> 
13     set here will be removed from the modes set on a file when it is 
14     created.</para>
16     <para>The default value of this parameter removes the 
17     'group' and 'other' write and execute bits from the UNIX modes.</para>
19     <para>Following this Samba will bit-wise 'OR' the UNIX mode created 
20     from this parameter with the value of the <smbconfoption name="force create mode"/>
21     parameter which is set to 000 by default.</para>
23     <para>This parameter does not affect directory modes. See the 
24     parameter <smbconfoption name="directory mode"/> for details.</para>
26     <para>Note that this parameter does not apply to permissions
27     set by Windows NT/2000 ACL editors. If the administrator wishes to enforce
28     a mask on access control lists also, they need to set the <smbconfoption name="security mask"/>.</para>
29 </description>
31 <related>force create mode</related>
32 <related>directory mode</related>
33 <related>inherit permissions</related>
35 <value type="default">0744</value>
36 <value type="example">0775</value>
37 </samba:parameter>