[Samba] Win {vista, 7} + Offline folders + samba + clamfs resulting in .tmp files.

Ian Coetzee samba at iancoetzee.za.net
Wed Mar 7 00:37:50 MST 2012


On Mon, Feb 27, 2012 at 9:18 AM, Ian Coetzee <samba at iancoetzee.za.net> wrote:
> Hi Guys
>
> I am writing, hoping you could help me with this.
>
> As the subject states, I have a Samba (3.4.7) server. On it I have
> created 2 shares one that I access the files directly and the other
> share I access the same files via clamfs (1.0.1).
>
> Then I connect a Windows 7 machine to it. With offline files disabled,
> I have no problems, however with offline files enabled I am getting a
> lot of .tmp files when editing office files via the clamfs share.
>
> I have done some reading and as far as I can tell this happens on the
> save operation:
> 1. File gets saved as .tmp
> 2. Old file gets deleted
> 3. tmp file gets renamed to old file
>
> The problem is that step 3 never happens when working on the clamfs share.
>
> I have tried this article
> http://www.pcbg.co.za/threads/13075-Windows-7-Sync-Center-s-offline-file-sync-SAMBA,
> but no luck.
>
> I have also tried adding tmp to clamfs's whitelist, no change though.
>
> I can try getting some logs, but what verbosity level?
>
> Let me know where I can shine my flashlight and give you more details.
>
> Regards
> Ian

Some new info on this.

It seems the .tmp file creation is back, even when clamfs is disabled.

Any ideas?

Regards
Ian


More information about the samba mailing list