[OpenAFS] MS Word crashing when opening files, 1.5.27 client

Jeffrey Altman jaltman@secure-endpoints.com
Thu, 29 Nov 2007 22:30:02 +0100


Rodney M. Dyer wrote:
> At 10:59 AM 11/29/2007, Jeffrey Altman wrote:
>> Therefore, if you are providing files to be used simply as read only
>> templates, they should be stored in AFS in a manner that indicates to
>> the AFS client that they are in fact readonly so that the cache manager
>> knows it is safe to fake the locks locally.
> 
> One small question.  Historically, in virtually all DOS/Win PC
> networking environments, the file attribute "r" was also recognized by
> applications as meaning "read-only" (whole file), even if it is just
> "advisory" to the network client.  What does AFS do in this situation,
> if anything at all, or is that still the applications responsibility to
> recognize the "r" attribute?
> 
> Rodney

The "Windows/DOS" Read-only attribute is interpreted by the application
and is separate from the AFS "r" permission.   When set Office
applications open documents in "shared read only" mode which means that
they still obtain locks on the file.

Jeffrey Altman