Match Samba 2.2, and make ACB_NORMAL the default ACB value.
[Samba.git] / docs / docbook / smbdotconf / security / forcecreatemode.xml
blob66b29950d0cfbd0ae0440f0d9c059e4b574e6d73
1 <samba:parameter name="force create mode"
2                  context="S"
3                  xmlns:samba="http://samba.org/common">
4 <listitem>
5     <para>This parameter specifies a set of UNIX mode bit 
6     permissions that will <emphasis>always</emphasis> be set on a 
7     file created by Samba. This is done by bitwise 'OR'ing these bits onto 
8     the mode bits of a file that is being created or having its 
9     permissions changed. The default for this parameter is (in octal) 
10     000. The modes in this parameter are bitwise 'OR'ed onto the file 
11     mode after the mask set in the <parameter moreinfo="none">create mask</parameter> 
12     parameter is applied.</para>
13                 
14     <para>See also the parameter <link linkend="CREATEMASK"><parameter moreinfo="none">create 
15     mask</parameter></link> for details on masking mode bits on files.</para>
17     <para>See also the <link linkend="INHERITPERMISSIONS"><parameter moreinfo="none">inherit 
18     permissions</parameter></link> parameter.</para>
20     <para>Default: <command moreinfo="none">force create mode = 000</command></para>
22     <para>Example: <command moreinfo="none">force create mode = 0755</command></para>
24     <para>would force all created files to have read and execute 
25     permissions set for 'group' and 'other' as well as the 
26     read/write/execute bits set for the 'user'.</para>
27 </listitem>
28 </samba:parameter>