docs: include the type attribute for force create mode
[amitay/samba.git] / docs-xml / smbdotconf / security / forcecreatemode.xml
1 <samba:parameter name="force create mode"
2                  context="S"
3                  type="integer"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>This parameter specifies a set of UNIX mode bit
7     permissions that will <emphasis>always</emphasis> be set on a
8     file created by Samba. This is done by bitwise 'OR'ing these bits onto
9     the mode bits of a file that is being created. 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>The example below would force all newly created files to have read and execute
15     permissions set for 'group' and 'other' as well as the
16     read/write/execute bits set for the 'user'.</para>
17
18 </description>
19
20 <related>create mask</related>
21 <related>inherit permissions</related>
22
23 <value type="default">000</value>
24 <value type="example">0755</value>
25 </samba:parameter>