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

February 27th, 2012 - 02:40 am ET by Ian Coetzee | Report spam
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...ync-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
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Ian Coetzee
March 07th, 2012 - 02:40 am ET | Report spam
On Mon, Feb 27, 2012 at 9:18 AM, Ian Coetzee 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...ync-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
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search