1 <samba:parameter name="force directory mode"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This parameter specifies a set of UNIX mode bit
7 permissions that will <emphasis>always</emphasis> be set on a directory
8 created by Samba. This is done by bitwise 'OR'ing these bits onto the
9 mode bits of a directory that is being created. The default for this
10 parameter is (in octal) 0000 which will not add any extra permission
11 bits to a created directory. This operation is done after the mode
12 mask in the parameter <parameter moreinfo="none">directory mask</parameter> is
16 New in Samba 4.0.0. This mode is also 'OR'ed into the mode bits whenever
17 permissions are changed on a directory, not just when the file is created.
18 This replaces the now removed <parameter moreinfo="none">force directory security mode</parameter>.
21 <para>The example below would force all created directories 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>
26 <value type="default">000</value>
27 <value type="example">0755</value>
29 <related>directory mask</related>
30 <related>inherit permissions</related>