Gabriel Franca
2022-Jul-06 17:30 UTC
[Samba] Problem file server with microsoft office temp files
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 >
Rowland Penny
2022-Jul-06 17:43 UTC
[Samba] Problem file server with microsoft office temp files
On Wed, 2022-07-06 at 14:30 -0300, Gabriel Franca wrote:> 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.Have you tried deleting it on Linux ?> 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.Where are you deleting it from, in the recycle bin or in a shared folder ?> 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?Apart from schema_mode' and 'unix_nss_info' in the 'idmap config' lines (they do not work with the 'rid' backend), no, there isn't any wrong. Rowland