Samab Recycle Bin

assumes you have samba 3-x.x installed. This can be verified by the following command:

rpm -q samba

If you do not have the required version of Samba installed we have articles on how to update/install the correct version of Samba.

To implement the network recycle folder Samba uses a Virtual File System (VFS) module. The various VFS modules that Samba can use are in the local directory: //usr/lib/samba/vfs

Documentation on the options for the module and other VFS modules can be found in the local directory //usr/share/doc/samba-x.x/docs/Samba-HOWTO-collection.pdf under chapter 19 or on the following website:

vi /etc/samba/smb.conf


vfs object = recycle
recycle:repository = /home/recycle_bin/%U
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude = *.tmp
recycle:exclude_dir = /tmp
recycle:noversions = *.doc

comment = Recycle Bin
path = /home/recycle_bin
public = yes
guest ok = yes
writable = yes

mkdir /home/recycle_bin/
chmod 777 /home/recycle_bin

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.