Recycle bin issue
Jeremy Allison
jra at samba.org
Thu Jun 19 16:22:42 MDT 2014
On Thu, Jun 19, 2014 at 03:57:42PM +0200, CurlyMo wrote:
> I'm currently have a ZFS NAS setup similar to this:
>
> /data/user1/Work
> /data/user1/Hobby
> /data/user2/Work
> /data/user2/Hobby
> /data/recycle/user1
> /data/recycle/user2
>
> All are separate ZFS filesystems.
>
> My samba configuration (relevant part) looks like this:
>
> [data]
> path = /data/%U
> vfs objects = recycle
> recycle:repository = /data/recycle/%U
> recycle:keeptree = yes
> recycle:versions = yes
> recycle:touch = yes
> recycle:maxsize = 0
>
> [recycle]
> path = /data/recycle/%U
>
> When running a default manually compiled Samba 3.5.11, this all
> works without issues. All files that are removed from any folder in
> /data/%U/* are moved to the /data/recycle/%U folder. However, this
> ONLY works with Samba 3.5.11. In any later version (and I believe
> also previous versions) this doesn't work anymore.
>
> Is this a known bug? Did I maybe do something wrong? Or is there
> something else going on?
If this is reproducible with a modern (4.0.x or above)
Samba, please log a bug in bugzilla.samba.org and upload
a debug level 10 log of a delete operation not correctly
recycling.
Thanks for helping us fix Samba !
Jeremy.
More information about the samba-technical
mailing list