[Samba] posix locking - what does it do?

Rudolf Polzer smb-bm at durchnull.de
Tue Jun 22 09:17:50 GMT 2004

What exactly does the POSIX locking option do?

I know what it does NOT do: flock() the files a Windows machine has
locked. When for example a file is locked on server side (Linux,  I
tried all three Debian samba releases from stable, testing and
unstable), notepad on Windows still opens it. If it however is locked by
a Windows application on another computer, notepad refuses.

Does "posix locking" perhaps map SMB locks to something else than

A pumpkin, an eggplant and a tomato are on a truck.
What will fall on a sharp curve?
--> Gur fcrrq.
                                             >> http://www.ccc-offenbach.org <<

More information about the samba mailing list