summaryrefslogtreecommitdiff
path: root/docs/Samba3-HOWTO
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-27 16:56:17 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:19 -0500
commit9113a26fcc9607c0747ed11ee7220dcb23c6e093 (patch)
treece9e9a077625a54aa041c47f8c6ba0174dfe9c29 /docs/Samba3-HOWTO
parent7ab7991da998eaac38780ee4ae9dfbf46a1293f5 (diff)
downloadsamba-9113a26fcc9607c0747ed11ee7220dcb23c6e093.tar.gz
samba-9113a26fcc9607c0747ed11ee7220dcb23c6e093.tar.bz2
samba-9113a26fcc9607c0747ed11ee7220dcb23c6e093.zip
Document recycle:subdir_mode, thanks to Thomas Bork
(This used to be commit a6449190e6ad7097a0f62638825366f91f5ec326)
Diffstat (limited to 'docs/Samba3-HOWTO')
-rw-r--r--docs/Samba3-HOWTO/TOSHARG-VFS.xml46
1 files changed, 40 insertions, 6 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-VFS.xml b/docs/Samba3-HOWTO/TOSHARG-VFS.xml
index 18fe9db978..7ebb05b22c 100644
--- a/docs/Samba3-HOWTO/TOSHARG-VFS.xml
+++ b/docs/Samba3-HOWTO/TOSHARG-VFS.xml
@@ -340,11 +340,18 @@ quotasettings: gid nolimit = no
<indexterm><primary>.recycle</primary></indexterm>
<indexterm><primary>recycle:keeptree</primary></indexterm>
<indexterm><primary>deleted files</primary></indexterm>
- The <guiicon>Recycle Bin</guiicon> will not appear in <application>Windows Explorer</application> views of the
- network file system (share) nor on any mapped drive. Instead, a directory called <filename>.recycle</filename>
- will be automatically created when the first file is deleted. Users can recover files from the
- <filename>.recycle</filename> directory. If the <parameter>recycle:keeptree</parameter> has been specified,
- deleted files will be found in a path identical with that from which the file was deleted.
+ The <guiicon>Recycle Bin</guiicon> will not appear in
+ <application>Windows Explorer</application> views of the network
+ file system (share) nor on any mapped drive. Instead, a directory
+ called <filename>.recycle</filename> will be automatically created
+ when the first file is deleted and <parameter>recycle:repository</parameter>
+ is not configured.
+ If <parameter>recycle:repository</parameter> is configured, the name
+ of the created directory depends on <parameter>recycle:repository</parameter>.
+ Users can recover files from the recycle bin. If the
+ <parameter>recycle:keeptree</parameter> has been specified, deleted
+ files will be found in a path identical with that from which the
+ file was deleted.
</para>
<para>Supported options for the <command>recycle</command> module are as follow:
@@ -353,7 +360,34 @@ quotasettings: gid nolimit = no
<term>recycle:repository</term>
<listitem><para>
<indexterm><primary>recycle:repository</primary></indexterm>
- Relative path of the directory where deleted files should be moved.
+ Path of the directory where deleted files should be moved.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>recycle:directory_mode</term>
+ <listitem><para>
+<indexterm><primary>directory_mode</primary></indexterm>
+ Set it to the octal mode you want for the recycle directory. With
+ this mode the recycle directory will be created if it not
+ exists and the first file is deleted.
+ If <parameter>recycle:subdir_mode</parameter> is not set, these
+ mode also apply to sub directories.
+ If <parameter>directory_mode</parameter> not exists, the default
+ mode 0700 is used.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>recycle:subdir_mode</term>
+ <listitem><para>
+<indexterm><primary>recycle:subdir_mode</primary></indexterm>
+ Set it to the octal mode you want for the sub directories of
+ the recycle directory. With this mode the sub directories will
+ be created.
+ If <parameter>recycle:subdir_mode</parameter> is not set, the
+ sub directories will be created with the mode from
+ <parameter>directory_mode</parameter>.
</para></listitem>
</varlistentry>