Debian Codegraph @

docs-xml/smbdotconf/protocol/defersharingviolations.xml

raw
1 <samba:parameter name="defer sharing violations"
2 context="G"
3 type="boolean"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6 <para>
7 Windows allows specifying how a file will be shared with
8 other processes when it is opened. Sharing violations occur when
9 a file is opened by a different process using options that violate
10 the share settings specified by other processes. This parameter causes
11 smbd to act as a Windows server does, and defer returning a "sharing
12 violation" error message for up to one second, allowing the client
13 to close the file causing the violation in the meantime.
14 </para>
15
16 <para>UNIX by default does not have this behaviour.</para>
17
18 <para>
19 There should be no reason to turn off this parameter, as it is
20 designed to enable Samba to more correctly emulate Windows.
21 </para>
22 </description>
23
24 <value type="default">yes</value>
25 </samba:parameter>