Hi Eric,
What version of Samba are U using?
With Samba 2.2.5 i realized the recyle bin this way as documented in the source
( see samba-x.x.x/examples/VFS/recycle )
add these 2 line to the share you want a .recyle-Folder
vfs object = /usr/local/samba/lib/recycle.so
vfs options = /usr/local/samba/lib/recycle.conf
( correct the path if you have installed samba in a different location )
This is the recycle.conf contains
# name of the recycle bin at root level of share for each user
name = .recycle/%U
# mode :
# KEEP_DIRECTORIES = retain directory hierarchy of deleted file,
# i.e. recreate all directories in recycle bin
# VERSIONS = create copies in case of identical file names in recycle
bin
# TOUCH = touch access date of files moved into the recycle bin
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
# maximum file size to be moved to the recycle bin (0 means any size)
maxsize = 0
# exclude file names with the following extensions:
exclude = *.tmp|*.temp|*.o|*.obj|~$*
# exclude directories:
excludedir = /tmp|/temp|/cache
# Add file extensions of files where no versioning is wanted (i.e. copy # 1...)
# only valid when mode=VERSIONS is set
noversions = *.doc|*.xls|*.ppt
Hope this helps
Chris ;-)
Am Donnerstag, 29. August 2002 12:20 schrieb Eric:> guys,
>
> is the "recycle bin = /some/directory" feature still working?
does the
> /some/directory hold the deleted files from a share having this line in the
> smb.conf?
>
> eric
>
> ------------------------------------------------------------------------
> cOntact @ Lycos <http://contact.lycosasia.com>
> = 10MB for email and filestore + lots of other goodies...