| 1 |
<samba:parameter name="delete veto files" |
| 2 |
type="boolean" |
| 3 |
context="S" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para>This option is used when Samba is attempting to |
| 7 |
delete a directory that contains one or more vetoed files |
| 8 |
or directories or non-visible files or directories (such |
| 9 |
as dangling symlinks that point nowhere). |
| 10 |
(see the <smbconfoption name="veto files"/>, <smbconfoption name="hide special files"/>, |
| 11 |
<smbconfoption name="hide unreadable"/>, <smbconfoption name="hide unwriteable files"/> |
| 12 |
options). If this option is set to <constant>no</constant> (the default) then if a vetoed |
| 13 |
directory contains any non-vetoed files or directories then the |
| 14 |
directory delete will fail. This is usually what you want.</para> |
| 15 |
|
| 16 |
<para>If this option is set to <constant>yes</constant>, then Samba |
| 17 |
will attempt to recursively delete any files and directories within |
| 18 |
the vetoed directory. This can be useful for integration with file |
| 19 |
serving systems such as NetAtalk which create meta-files within |
| 20 |
directories you might normally veto DOS/Windows users from seeing |
| 21 |
(e.g. <filename moreinfo="none">.AppleDouble</filename>)</para> |
| 22 |
|
| 23 |
<para>Setting <smbconfoption name="delete veto files">yes</smbconfoption> allows these |
| 24 |
directories to be transparently deleted when the parent directory |
| 25 |
is deleted (so long as the user has permissions to do so).</para> |
| 26 |
</description> |
| 27 |
<related>veto files</related> |
| 28 |
<value type="default">no</value> |
| 29 |
</samba:parameter> |