[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. Bug reported by: Denis Heitbrock <heitbrockd@schlick.de> I have verified this bug. Setting on the share definition: vfs object = recycle:keeptree=True through debug analysis shows that recycle_keep_dir_tree remains set at False. I have tried the reverse, setting it to False also results in False. This means that the directory of origin is never applied to the .recycle target.
It looks like there are some problems in handling multiple VFS options (i.e you can't do vfs_objects = recycle:foo=bar recycle:foo2=bar2 and have it work properly).
is this just an option parsing bug? setting [public] path = /export/public read only = no msdfs root = yes vfs objects = recycle vfs object = recycle:repository=.recycle seems to work ok.
Yes. As soon as you try adding more than one option it starts getting confused. It looks like the argument parsing code can't add an option to an already loaded vfs module.
This is a documentation bug. The actual syntax is: vfs object = recycle recycle:repository=.recycle2 recycle:versions=True recycle:touch=True recycle:keeptree=True recycle:exclude=*.tmp|*.temp|*.o|*.obj|~$* although the exclude pattern doesn't seem to be working quite right. I'll look at that.
no bug at all. The actual exclude syntax is recycle:exclude=*.tmp *.temp *.o *.obj ~$* I'm going to checkin some generic comments about vfs modules to the man page but each module needs its own man page IMO for option specifics.
originally reported against 3.0.0beta3. CLeaning out non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.