1 <samba:parameter name="force security mode"
3 xmlns:samba="http://samba.org/common">
5 <para>This parameter controls what UNIX permission
6 bits can be modified when a Windows NT client is manipulating
7 the UNIX permission on a file using the native NT security dialog
10 <para>This parameter is applied as a mask (OR'ed with) to the
11 changed permission bits, thus forcing any bits in this mask that
12 the user may have modified to be on. Essentially, one bits in this
13 mask may be treated as a set of bits that, when modifying security
14 on a file, the user has always set to be 'on'.</para>
16 <para>If not set explicitly this parameter is set to 0,
17 and allows a user to modify all the user/group/world permissions on a file,
18 with no restrictions.</para>
20 <para><emphasis>Note</emphasis> that users who can access
21 the Samba server through other means can easily bypass this restriction,
22 so it is primarily useful for standalone "appliance" systems.
23 Administrators of most normal systems will probably want to leave
24 this set to 0000.</para>
26 <para>See also the <link linkend="FORCEDIRECTORYSECURITYMODE"><parameter moreinfo="none">
27 force directory security mode</parameter></link>,
28 <link linkend="DIRECTORYSECURITYMASK"><parameter moreinfo="none">directory security
29 mask</parameter></link>, <link linkend="SECURITYMASK"><parameter moreinfo="none">
30 security mask</parameter></link> parameters.</para>
32 <para>Default: <command moreinfo="none">force security mode = 0</command></para>
34 <para>Example: <command moreinfo="none">force security mode = 700</command></para>