docs: fix opening and ending tag mismatch: para
[Samba/gebeck_regimport.git] / docs-xml / smbdotconf / security / forcedirectorymode.xml
blobe5b37ea611fb3d2cb128cf0fbb3689c3ec2c172f
1 <samba:parameter name="force directory mode"
2                  context="S"
3                                  type="string"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
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 
13     applied.</para>
15     <para>
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>.
19     </para>
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>
24 </description>
26 <value type="default">000</value>
27 <value type="example">0755</value>
29 <related>directory mask</related>
30 <related>inherit permissions</related>
31 </samba:parameter>