Re: problem with file open for read-only
Jeffrey Altman <[email protected]> Wed, 14 Feb 2007 02:58:40 -0500
| Newsgroups | gmane.comp.file-systems.openafs.devel.win32 |
|---|---|
| Organization | Secure Endpoints Inc. |
| Message-ID | <[email protected]> |
TomcsĂĄnyi Roland wrote: > Hello, > > we tried openafs 1.5.14 (winxp with sp2), but we have a problem > and I would like to know this is a knowned problem or just appear > in own system... > > If we open for read-write a .doc or .xls file then (from other computer) > we couldn't open this file for read-only! > If first open for read-only, and second open for read-write, then it's OK... > > I don't understand this... > > Best regards: Roland AFS does not support byte range locks but Windows requires them. Therefore, when a file is opened for writing, the cache manager on that machine obtains a full file write lock. All other cache managers are then prevented from reading the file until the file has been closed. When Office opens a file for read-only, it obtains a lock when the file is read and then it releases the lock. This allows another cache manager to obtain the lock. Jeffrey Altman
smime.p7s
(application/x-pkcs7-signature, 3.3 KB) - not displayed