[Samba] File Lock Timeout

Stringer Leon (West Midlands Ambulance Service NHS Trust) leon.stringer at nhs.net
Fri Jan 12 16:20:56 GMT 2007

>From: Volker Lendecke <Volker.Lendecke at SerNet.DE>  
>On Fri, Jan 12, 2007 at 04:02:37PM +0000, Stringer Leon (West Midlands Ambulance Service NHS Trust) wrote:
>> Thanks for your reply. Unfortunately that doesn't help as
>> the user is one of many on a terminal server and all files
>> for that box are listed with pid 1216. So killing that
>> would cause a lot of problems (I assume).
>But then the file is still being held open by some process
>on the file server.

Yes, so either I have to wait for a timeout so the one user can edit their file or I can kill the process removing the locks for everyone else. So I have to wait, which was my original question, how long for?

The lock has gone now, but this problem has happened before and is bound to happen again. If I remember correctly, Windows allows you to close the locks on individual files, it would be nice if Samba did this too...

Information in this message  may contain  confidential and  privileged
information.  If you are not  the intended recipient please accept our
apologies; please do not disclose,  copy or distribute  information in
this e-mail or take any  action in reliance on its  contents: to do so
is strictly prohibited and may be unlawful. Please inform us that this
message  has  gone  astray  before  deleting it.  Thank  you for  your
NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail 

More information about the samba mailing list