[Samba] Samba 3.0.9 and vfs recycle on SLES9

Robert Schetterer robert at schetterer.org
Thu Feb 3 14:53:33 GMT 2005


Hi as i mailed to you personal before
i guess you have to use commas on suse

like this 
vfs objects =  recycle

       recycle:keeptree = yes

       recycle:versions = yes

       recycle:touch = yes

       recycle:exclude = ?~$*,~$*,*.tmp,index*.pl,index*.htm*,*.temp,*.TMP

       recycle:exclude_dir=  /tmp,/temp,/cache

       recycle:repository = .recycle/.recycle.%u

       recycle:noversions = *.doc,*.xls,*.ppt

       #hide files = /.recycle.*/.recycle/

       #veto files = /.recycle.*/.recycle/

this works quite well on my suse systems

Regards




J. Strohschnitter schrieb:

>>>Hi list,
>>>
>>>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
>
>
>  
>


More information about the samba mailing list