[OpenAFS] excel 2003 and readonly afs directories

Dave Botsch botsch@cnf.cornell.edu
Wed, 17 Jan 2007 12:06:50 -0500


What about giving the user lock permissions (k)?

On Wed, Jan 17, 2007 at 11:47:54AM -0500, Jeffrey Altman wrote:
> Dave Botsch wrote:
> > Hi.
> > 
> > With Excel 2003 on Windows, if a directory is readonly
> > (say via acls), Excel cannot open the .xls document. The error is "Cannot
> > access the file "filename". The file may be readonly or encrypted."
> > 
> > Now, if I copy the file to the desktop or make the directory rw, excel can open
> > the file.
> > 
> > Mac Excel / Openoffice Windows & Linux do not seem to have this problem. So,
> > the problem seems to be w. Windows Excel.
> > 
> > Any thoughts as to what Excel is trying to do that's failing and any
> > workarounds?
> > 
> > thanks.
> 
> Excel is attempting to open the file in exclusive mode and that requires
> a write lock.  The write lock is denied when the user doesn't have write
> privileges.
> 
> There was a problem in 1.5.12 and earlier where a file marked read-only
> via the UNIX mode (0200) bit could not be opened.  This was fixed in 1.5.13.
> 
> Jeffrey Altman



-- 
********************************
David William Botsch
Programmer/Analyst
CNF Computing
botsch@cnf.cornell.edu
********************************