Next update of VFS modules development guide
[samba.git] / docs / smbdotconf / security / forcecreatemode.xml
1 <samba:parameter name="force create mode"
2                  context="S"
3                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
4 <description>
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>The example below would force all 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>