[OpenAFS-devel] Cannot overwrite a file

Martin MOKREJŠ mmokrejs@natur.cuni.cz
Tue, 18 Nov 2003 15:56:10 +0100 (CET)


On Tue, 18 Nov 2003, Kostas Liakakis wrote:

> On Tue, 18 Nov 2003, [iso-8859-2] Martin MOKREJ? wrote:
>
> > > chmod +w /afs/.cellname/afsws/afs-alpha-mips/usr/local2/bin/tcsh
> >
> > Is that necessary? Th euser has AFS privileges for write already, so why
> > does the C code get permission denied from kernel? Doesn't the AFS part of
> > kernel handle this?
>
> Yes. It is, in fact, handling them :-)
>
> Check the user guide. The mode bits are ignored within AFS with the
> excepetion of the "user" part. If one of the user r,w or x bits is off,
> then _nobody_ , not even the owner, can read, write or execute the
> file/directory regardless of the AFS acl.

OK, then I have to install a cronjob to do it for everyone. Thanks! ;)

-- 
Martin Mokrejs <mmokrejs@natur.cuni.cz>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs