1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="FORCECREATEMODE"/>force create mode (S)</term>
3 <listitem><para>This parameter specifies a set of UNIX mode bit
4 permissions that will <emphasis>always</emphasis> be set on a
5 file created by Samba. This is done by bitwise 'OR'ing these bits onto
6 the mode bits of a file that is being created or having its
7 permissions changed. The default for this parameter is (in octal)
8 000. The modes in this parameter are bitwise 'OR'ed onto the file
9 mode after the mask set in the <parameter moreinfo="none">create mask</parameter>
10 parameter is applied.</para>
12 <para>See also the parameter <link linkend="CREATEMASK"><parameter moreinfo="none">create
13 mask</parameter></link> for details on masking mode bits on files.</para>
15 <para>See also the <link linkend="INHERITPERMISSIONS"><parameter moreinfo="none">inherit
16 permissions</parameter></link> parameter.</para>
18 <para>Default: <command moreinfo="none">force create mode = 000</command></para>
19 <para>Example: <command moreinfo="none">force create mode = 0755</command></para>
21 <para>would force all created files to have read and execute
22 permissions set for 'group' and 'other' as well as the
23 read/write/execute bits set for the 'user'.</para>