[OpenAFS-devel] Cannot overwrite a file

Kostas Liakakis kostas@skiathos.physics.auth.gr
Tue, 18 Nov 2003 16:32:24 +0200 (EET)


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.

-K.