[Samba] Recycle Bin On Share

Rowland Penny rowlandpenny at googlemail.com
Tue Mar 17 08:23:19 MDT 2015


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


More information about the samba mailing list