[Samba] Problem file server with microsoft office temp files

Anders Östling anders.ostling at gmail.com
Wed Jul 6 16:41:13 UTC 2022


I had the same issue when using vfs recycling. I solved it by using a cron script that removed them on a weekly basis (name .tmp, mtime +7). I guess that this is what recycle is supposed to do,  so no samba bug IMO.
Anders

Hämta Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: samba <samba-bounces at lists.samba.org> on behalf of Rowland Penny via samba <samba at lists.samba.org>
Sent: Wednesday, July 6, 2022 5:04:23 PM
To: samba at lists.samba.org <samba at lists.samba.org>
Cc: Rowland Penny <rpenny at samba.org>
Subject: Re: [Samba] Problem file server with microsoft office temp files

On Wed, 2022-07-06 at 11:37 -0300, Gabriel Franca via samba wrote:
> Good morning people,
>
> I have a problem on my file server with samba in version 4.15.5 with
> office
> files (excel, word etc..).
> When someone saves a file in the domain, an 8-character file with the
> extension .tmp appears. The server already has hundreds of TMP files
> that
> are not deleted by themselves.

Known problem, a known microsoft problem, word etc creates a temporary
file xxxxxxxx.tmp and then when the file is saved, it is supposed to be
saved with the contents of the '*.tmp' file with a new name and the
'*.tmp' file is supposed to be deleted, very often word etc doesn't.

You can hide the .tmp files with 'hide files' or you can add them to
'veto files'

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list