[OpenAFS] Opening files read-only when another process has a write-lock

Matt W. Benjamin matt@linuxbox.com
Fri, 18 Mar 2011 09:48:58 -0400 (EDT)

Hi Thomas,

Mandatory enforcement is the defined behavior for byte-range locks on Windows.  Since you are testing on Windows, you are seeing the Windows behavior.  The same lock would be interpreted as advisory on a Unix client.


----- "Thomas Smith" <theitsmith@gmail.com> wrote:

> Hi,
> Is it possible to open files read-only when another process has a
> write-lock? I found the following information regarding 1.5.20.
>     http://dl.openafs.org/dl/openafs/1.5.20/winxp/relnotes.htm
>         Many applications on Windows (e.g. Microsoft Office) require
> the use of byte range locks
>         applied to a file either to protect against simultaneous file
> access or as a signaling mechanism.

> ~ Tom
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info


Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104


tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309