On Fri, 4 Jul 2003, Denis Heitbrock wrote:
VFS modules under 3.0.0 no longer read a separate file for configuration
options. So to do what you want for a share called 'stuff' here is what
you now need:
[stuff]
path = /somewhere/in/file/system
vfs object = recycle:repository=.recycle recycle:versions=True
recycle:touch=True recycle:keeptree=True
recycle:exclude=*.tmp|*.temp|*.o|*.obj|~$*
recycle:exclude_dir=/tmp|/temp|/cache
- John T.
> hi,
>
> i got a small problem with the recycle under samba-3.0.0beta2-1 on a redhat
> 9.0 machine.
> when i delete file the files move to the recycle bin. when i check the
> recycle bin all files
> are in the main directory and not with the directory structure.
>
> my /etc/samba/recycle.conf looks so:
> name = .recycle
> # 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
>
> the string keep_directories is active but samba move all files only in 1
> directory and dont keep the structure.
> thxxx for help.
>
> greetz
> denis
>
>
--
John H Terpstra
Email: jht@samba.org