[Samba] Trouble renaming file and folders, SMB2+ or newer samba (4.8)?

Marco Gaiarin gaio at sv.lnf.it
Thu Apr 11 07:34:32 UTC 2019


Little more then a curiosity.


Swithcing from Samba 4.2/NT to Samba 4.8/AD, many users complain about
they have difficulty to rename files and folder (windows error say
'busy file').

We have added to smb.conf:

	socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15

and this helped a bit, but still in some situation (where surely
there's only one user in that file/folder) 'lock' hit.

Eg, user A modify file F, then close it, then try immediately to rename
the file or the folder that contain the file, and windows reply with
'busy file'.


It is a new feature of SMB2+? Or samba internally changed something?


As i remember, i've never hitted that on Samba in NT mode...

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list