[OpenAFS-devel] Cannot overwrite a file

Derek Atkins warlord@MIT.EDU
Tue, 18 Nov 2003 12:13:53 -0500


What's the output of:
       tokens
       fs la /afs/cellname/user/w/waparris

-derek

Adam Parrish <waparris@ncsu.edu> writes:

> I am having a very similar problem when trying to just rename a file in
> my afs space. The user is authenticated with Kerberos tokens and their
> home directory is mounted on login. I then run a test to see if I can
> rename a file with mv /afs/cellname/user/w/waparris/file
> /afs/cellname/user/w/waparris/file2 and it gives me error cannot stat
> 'file' : Permission denied.=20
>
> Any ideas?
>
> Much appreciated.
> Adam Parrish
>
> --=20
> Adam Parrish
> Asst. Linux Administrator
> ECE Dept, North Carolina State University
> Office: 919.515.0124
>
> On Tue, 2003-11-18 at 09:56, Martin MOKREJ=C5=A0 wrote:
>> On Tue, 18 Nov 2003, Kostas Liakakis wrote:
>>=20
>> > 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 p=
art 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.
>>=20
>> OK, then I have to install a cronjob to do it for everyone. Thanks! ;)
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
>

--=20
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available