Marcus Sobchak <lists@localguru.de>
2008-Feb-21 17:18 UTC
[Samba] recycle module creates empty files (0 KB)
Hi, I have a strange behaviour when creating new files. When opening word, excel, ppt or txt to create a new document (e.g. I use the word icon on the desktop to start word) and save the file to the home share H: an empty (0 KB) file with the same name as the saved document is created in the trash folder. Why this second empty file in the trash folder? Going directly to the home share H: and create a new document using right mouse click "new / word document" and save to H: no empty file is found in the trash folder. Strange? Here is my config running on 3.0.24-6etch9 Samba: [...] recycle: repository=Trash recycle: keeptree=True recycle: versions=True recycle: touch=True recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? [...] Any help is welcome! Thanks, Marcus
Marcus Sobchak <lists@localguru.de>, on 2/21/2008 11:40 AM, said the following:> I have a strange behaviour when creating new files. When opening word, > excel, ppt or txt to create a new document (e.g. I use the word icon on > the desktop to start word) and save the file to the home share H: an > empty (0 KB) file with the same name as the saved document is created in > the trash folder. Why this second empty file in the trash folder?It may something to do with the way Windows/Office works. When you create a new file or open an existing one, it creates a weird hidden file with ~ at the beginning of the name, then deletes this when the file is saved/closed. There may be some parameters you can set to hide this behavior, but I don't know what they might be... sorry. -- Best regards, Charles
Marcus Sobchak <lists@localguru.de>
2008-Feb-22 00:05 UTC
[Samba] recycle module creates empty files (0 KB)
Am Donnerstag, den 21.02.2008, 17:40 +0100 schrieb Marcus Sobchak :> Hi, > > I have a strange behaviour when creating new files. When opening word, > excel, ppt or txt to create a new document (e.g. I use the word icon on > the desktop to start word) and save the file to the home share H: an > empty (0 KB) file with the same name as the saved document is created in > the trash folder. Why this second empty file in the trash folder? > > Going directly to the home share H: and create a new document using > right mouse click "new / word document" and save to H: no empty file is > found in the trash folder. Strange?I found this message in the list with a patch to fix this problem using the recycle:minsize parameter http://lists.samba.org/archive/samba-technical/2006-July/048054.html After looking to the source of the Debian package 3.0.24-6etch9 is seems that the minsize feature doesn't come with the 3.0.24 version. Is there a patch for version 3.0.24? Ciao!