1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="SHAREMODES"/>share modes (S)</term>
3 <listitem><para>This enables or disables the honoring of
4 the <parameter moreinfo="none">share modes</parameter> during a file open. These
5 modes are used by clients to gain exclusive read or write access
8 <para>These open modes are not directly supported by UNIX, so
9 they are simulated using shared memory, or lock files if your
10 UNIX doesn't support shared memory (almost all do).</para>
12 <para>The share modes that are enabled by this option are
13 <constant>DENY_DOS</constant>, <constant>DENY_ALL</constant>,
14 <constant>DENY_READ</constant>, <constant>DENY_WRITE</constant>,
15 <constant>DENY_NONE</constant> and <constant>DENY_FCB</constant>.
18 <para>This option gives full share compatibility and enabled
21 <para>You should <emphasis>NEVER</emphasis> turn this parameter
22 off as many Windows applications will break if you do so.</para>
24 <para>Default: <command moreinfo="none">share modes = yes</command></para>