1 <samba:parameter name="force directory mode"
3 xmlns:samba="http://samba.org/common">
5 <para>This parameter specifies a set of UNIX mode bit
6 permissions that will <emphasis>always</emphasis> be set on a directory
7 created by Samba. This is done by bitwise 'OR'ing these bits onto the
8 mode bits of a directory that is being created. The default for this
9 parameter is (in octal) 0000 which will not add any extra permission
10 bits to a created directory. This operation is done after the mode
11 mask in the parameter <parameter moreinfo="none">directory mask</parameter> is
14 <para>See also the parameter <link linkend="DIRECTORYMASK"><parameter moreinfo="none">
15 directory mask</parameter></link> for details on masking mode bits
16 on created directories.</para>
18 <para>See also the <link linkend="INHERITPERMISSIONS"><parameter moreinfo="none">
19 inherit permissions</parameter></link> parameter.</para>
21 <para>Default: <command moreinfo="none">force directory mode = 000</command></para>
23 <para>Example: <command moreinfo="none">force directory mode = 0755</command></para>
25 <para>would force all created directories to have read and execute
26 permissions set for 'group' and 'other' as well as the
27 read/write/execute bits set for the 'user'.</para>