Hello,
Is this the preferred method for adding a recycle bin to a share?
Share is located on a Samba 4.1.17 member server. Thanks.
/|[share]|/
path = /data/share
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#PATH>
vfs objects = recycle
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#VFSOBJECTS>
recycle:repository = .recycle
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:REPOSITORY>
recycle:keeptree = yes
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:KEEPTREE>
recycle:versions = yes
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:VERSIONS>
--
-James
On 17/03/15 14:05, James wrote:> Hello, > > Is this the preferred method for adding a recycle bin to a share? > Share is located on a Samba 4.1.17 member server. Thanks. > > /|[share]|/ > path = /data/share <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#PATH> > vfs objects = recycle <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#VFSOBJECTS> > recycle:repository = .recycle <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:REPOSITORY> > recycle:keeptree = yes <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:KEEPTREE> > recycle:versions = yes <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:VERSIONS> > >Hi, this what I have working with 4.1.17 vfs objects = recycle recycle:versions = Yes recycle:noversions = *.doc|*.xls|*.ppt|*.dat|*.ini|*.pdf recycle:exclude_dir = /tmp|/temp|/cache recycle:exclude = *.tmp|*.TMP|*.temp|*.o|*.obj|~$*|*.~??|index*.* recycle:maxsize = 0 recycle:touch_mtime = Yes recycle:touch = Yes recycle:keeptree = Yes recycle:repository = .recycle/%U Rowland
Rowland,
How exactly does this command work?
recycle:repository = .recycle/%U
Does the command create user folders with '.recycle' sub folders?
On 3/17/2015 10:23 AM, Rowland Penny wrote:> On 17/03/15 14:05, James wrote:
>> Hello,
>>
>> Is this the preferred method for adding a recycle bin to a share?
>> Share is located on a Samba 4.1.17 member server. Thanks.
>>
>> /|[share]|/
>> path = /data/share
>>
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#PATH>
>> vfs objects = recycle
>>
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#VFSOBJECTS>
>> recycle:repository = .recycle
>>
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:REPOSITORY>
>> recycle:keeptree = yes
>>
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:KEEPTREE>
>> recycle:versions = yes
>>
<https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#RECYCLE:VERSIONS>
>>
>>
>
> Hi, this what I have working with 4.1.17
>
> vfs objects = recycle
> recycle:versions = Yes
> recycle:noversions = *.doc|*.xls|*.ppt|*.dat|*.ini|*.pdf
> recycle:exclude_dir = /tmp|/temp|/cache
> recycle:exclude = *.tmp|*.TMP|*.temp|*.o|*.obj|~$*|*.~??|index*.*
> recycle:maxsize = 0
> recycle:touch_mtime = Yes
> recycle:touch = Yes
> recycle:keeptree = Yes
> recycle:repository = .recycle/%U
>
> Rowland
--
-James