1 <samba:parameter name="force create mode"
3 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
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. The default for this parameter is (in octal)
9 000. The modes in this parameter are bitwise 'OR'ed onto the file
10 mode after the mask set in the <parameter moreinfo="none">create mask</parameter>
11 parameter is applied.</para>
14 New in Samba 4.0.0. This mode is also 'OR'ed into the mode bits whenever
15 permissions are changed on a file, not just when the file is created.
16 This replaces the now removed <parameter moreinfo="none">force security mode</parameter>.
19 <para>The example below would force all newly created files to have read and execute
20 permissions set for 'group' and 'other' as well as the
21 read/write/execute bits set for the 'user'.</para>
25 <related>create mask</related>
26 <related>inherit permissions</related>
28 <value type="default">000</value>
29 <value type="example">0755</value>