docs:smbdotconf: change type to octal where needed
[gd/samba-autobuild/.git] / docs-xml / smbdotconf / security / forcedirectorymode.xml
1 <samba:parameter name="force directory mode"
2                  context="S"
3                  type="octal"
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>
14
15         <para>The example below would force all created directories to have read and execute
16     permissions set for 'group' and 'other' as well as the
17     read/write/execute bits set for the 'user'.</para>
18 </description>
19
20 <value type="default">0000</value>
21 <value type="example">0755</value>
22
23 <related>directory mask</related>
24 <related>inherit permissions</related>
25 </samba:parameter>