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
Gabriel Franca
2022-Jul-06 19:11 UTC
[Samba] Problem file server with microsoft office temp files
Have you tried deleting it on Linux ? *Yes and working, I'm using command to delete all tmp files = "find /dados -name *.tmp -delete" to avoid a lot of tmp files on the server.* Where are you deleting it from, in the recycle bin or in a shared folder ? *Shared folder and don't give error when press delete on my keyboard, but if I press F5 the tmp file back to the original place.* 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. *I'm using AD on the backend so I changed it for testing.* Gabriel Franca Em qua., 6 de jul. de 2022 ?s 14:44, Rowland Penny via samba < samba at lists.samba.org> escreveu:> 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 > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >