summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/filename/deletevetofiles.xml
blob: c851824b7e249b4da385dfa7db14dd7b4a5a3605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<samba:parameter name="delete veto files"
                 context="S"
                 xmlns:samba="http://samba.org/common">
<listitem>
	<para>This option is used when Samba is attempting to 
	delete a directory that contains one or more vetoed directories 
	(see the <link linkend="VETOFILES"><parameter moreinfo="none">veto files</parameter></link>
	option).  If this option is set to <constant>no</constant> (the default) then if a vetoed 
	directory contains any non-vetoed files or directories then the 
	directory delete will fail. This is usually what you want.</para>

	<para>If this option is set to <constant>yes</constant>, then Samba 
	will attempt to recursively delete any files and directories within 
	the vetoed directory. This can be useful for integration with file 
	serving systems such as NetAtalk which create meta-files within 
	directories you might normally veto DOS/Windows users from seeing 
	(e.g. <filename moreinfo="none">.AppleDouble</filename>)</para>

	<para>Setting <command moreinfo="none">delete veto files = yes</command> allows these 
	directories to be  transparently deleted when the parent directory 
	is deleted (so long as the user has permissions to do so).</para>

	<para>See also the <link linkend="VETOFILES"><parameter moreinfo="none">veto 
	files</parameter></link> parameter.</para>

	<para>Default: <command moreinfo="none">delete veto files = no</command></para>
</listitem>
</samba:parameter>