Author: vlendec
Date: 2006-05-27 16:56:17 +0000 (Sat, 27 May 2006)
New Revision: 962

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=962

Log:
Document recycle:subdir_mode, thanks to Thomas Bork
Modified:
   trunk/Samba3-HOWTO/TOSHARG-VFS.xml


Changeset:
Modified: trunk/Samba3-HOWTO/TOSHARG-VFS.xml
===================================================================
--- trunk/Samba3-HOWTO/TOSHARG-VFS.xml  2006-05-26 23:04:09 UTC (rev 961)
+++ trunk/Samba3-HOWTO/TOSHARG-VFS.xml  2006-05-27 16:56:17 UTC (rev 962)
@@ -340,11 +340,18 @@
 <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,11 +360,38 @@
                        <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>
+
+                       <varlistentry>
                        <term>recycle:keeptree</term>
                                <listitem><para>
 <indexterm><primary>recycle:keeptree</primary></indexterm>

Reply via email to