file locking between win and linux clients

Jeremy Allison jra at samba.org
Thu Feb 24 18:14:33 GMT 2005


On Thu, Feb 24, 2005 at 03:31:49PM +0100, Volker Schurig wrote:
> 
> I'm neither a posix nor locking expert but I'm astonished that obviously
> the Samba server uses ONLY a read access on the linux system to access a 
> file?!

We do what the client application asks for. Remember the locks from the
NFS side are *advisory*, not mandatory. If you want consistent locking
between applications you'll have to use applications that were designed
with consistent locking.

Nothing on Linux will protect you from one reader one writer if they
weren't written to be aware of each other.

Jeremy.


More information about the samba-technical mailing list