[Samba] Problem file server with microsoft office temp files

Gabriel Franca gabriel.franca at gmail.com
Wed Jul 6 17:30:20 UTC 2022


Hi Rowland,
I believe the problem is in the time to delete the file.
Because when I try to delete the file through windows I can't.
I give the delete the file some and if I give a f5 it goes back to the same
place.
So I think that office is actually deleting it, but samba doesn't let the
file be deleted.
I made a cat here.
I used the hide file and put in the cron the find /data -name *.tmp -delete
until I managed to find a definitive solution.
I'm testing a windows server 2012 without antivirus.
In my smb.conf, did you find something that shouldn't be there?
Yours sincerely,
Gabriel O. Franca

Em qua., 6 de jul. de 2022 às 12:05, Rowland Penny via samba <
samba at lists.samba.org> escreveu:

> 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