[Samba] Samba 3.0.9 and vfs recycle on SLES9

Jens Strohschnitter suse-linux at rwz.de
Thu Feb 3 12:51:46 GMT 2005


> > > I have problems working samba 3.0.9 with VFS recycle. I have made an exculde
> > > to a folder on the share, but any file that was deleted out of this folder, 
> > > still moved to trash. Also all files from exclude (like .tmp ...) were stored
> > > to trash.
> > > Another problem is, that any file that was saved on the share from the application
> > > (like MSOffice) was also copied to the trash. So if I save a file the the network
> > > drive, the file was also saved to the trash-repository with complete tree.
> > > 
> > > Is there anything wrong in my conf ? Hope someone can find the bug:
> > > 
> > >  vfs objects = recycle
> > 
> > this has to read
> > 
> >     vfs object = recycle
> > 
> > not objects
> > 
> > >    recycle:repository = .Papierkorb/%U
> > >    recycle:keeptree = Yes
> > >    recycle:touch = No
> > >    recycle:versions = No
> > >    recycle:exclude = *.tmp|*.temp|*.o|*.obj|*.pqi|*.scr|*.eml|*.mpg|*.mpe|*.mpeg|*.mov|~$*
> > >    recycle:excludedir = /pmail|/PMAIL
> > >    recycle:maxsize = 209715200
> > > 
> 
> Hi,
> 
> sorry I have made the changes, but no effect. (also with  vfs objects = recycle the recycler works)
> The files were automaticly copied to trash, always I save a file to the network-share. Also files and 
> folders that were excluded still moves to trash.
> Here ist the full share-section, hope that this will help. Thx.
> 
> [homes]
>    comment = Users HomeFileSet
>    browseable = no
>    read only = no
>    create mode = 0700
>    directory mode = 0700
>    force user = %U
>    path=/server/home/%S
>    oplocks = true
>    veto files = /*.mp3/*.eml/*.nws/*.{*}/
>    ;
>    ; options for trashbox
>    ;
>    vfs object = recycle
>    recycle:repository = .Papierkorb/%U
>    recycle:keeptree = Yes
>    recycle:touch = No
>    recycle:versions = No
>    recycle:exclude = *.tmp|*.temp|*.o|*.obj|*.pqi|*.scr|*.eml|*.mpg|*.mpe|*.mpeg|*.mov|~$*
>    recycle:excludedir = /pmail|/PMAIL
>    recycle:noversions = *.doc|*.xls|*.ppt
>    recycle:maxsize = 209715200
> 

Hi again,

"vfs objects" works also in case of "vfs object". Samba will rename "vfs object" to "vfs objects". 
Have a look at testparm. The output showes you vfs objects, although you added vfs object !!!

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
		 the heart of the sun
-------------------------------------



More information about the samba mailing list