AW: [Samba] recycle under samba-3.0.0beta2-1 - supplement
John H Terpstra
jht at samba.org
Wed Jul 9 06:30:47 GMT 2003
Denis,
I have checked this and verify that this is a bug. You can track the
progress towards fixing this from https://bugzilla.samba.org as bug #210.
Thanks for the feedback.
- John T.
On Tue, 8 Jul 2003, Denis Heitbrock wrote:
> supplement:
> [Verkauf]
> vfs objects = extd_audit recycle
> vfs object = recycle:repository=.recycle recycle:versions=True
> recycle:touch=True recycle:keeptree=True
> recycle:exclude=*.tmp|*.temp|*.o|*.obj|~$*
> comment = Testdir
> valid users = heitbrock,administrator
> writeable = yes
> user = heitbrock,administrator
> path = /data1/Verkauf
>
>
> thxxx for the info but when i add these line in my smb.conf the
> directory structure isnt keept when i remove directies on a share. the
> files only moves to the .recycle dir.
>
>
>
> -----Ursprungliche Nachricht-----
> Von: John H Terpstra [mailto:jht at samba.org]
> Gesendet: Freitag, 4. Juli 2003 18:35
> An: Denis Heitbrock
> Cc: samba at lists.samba.org
> Betreff: Re: [Samba] recycle under samba-3.0.0beta2-1
>
>
> 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 at samba.org
>
>
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list