[Samba] File Lock Timeout

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jan 12 17:24:53 GMT 2007


On Fri, Jan 12, 2007 at 04:20:56PM +0000, Stringer Leon (West Midlands Ambulance Service NHS Trust) wrote:
> >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?

This particular kind of lock (a share mode) does not have a
timeout, this is completely client-driven.

> 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...

Yep. Can you file a bug at bugzilla.samba.org with prio
"enhancement" so that it does not get forgotten?

Thanks,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070112/ddbed4a1/attachment.bin


More information about the samba mailing list