[4598] in Athena Bugs

home help back first fref pref prev next nref lref last post

AFS

daemon@ATHENA.MIT.EDU (cfields@ATHENA.MIT.EDU)
Thu Mar 22 14:57:12 1990

From: cfields@ATHENA.MIT.EDU
Date: Thu, 22 Mar 90 14:57:02 -0500
To: bugs@ATHENA.MIT.EDU
Ummm... a.) is this a bug?
        b.) is it a known bug?

in my afs homedir:

e40-342f-2 70> cp /dev/null test
e40-342f-2 71> chmod 0 test
e40-342f-2 72> cat > test
abcdefg
e40-342f-2 73> ls -l test
----------  1 cfields         8 Mar 22 13:38 test
e40-342f-2 74> cat test
test: Permission denied
e40-342f-2 75> cat >> test
sdklfjsdfj
e40-342f-2 76> ls -l test
----------  1 cfields        11 Mar 22 13:38 test
e40-342f-2 77> cat test
test: Permission denied

whereas, in a local filsystem or with NFS:

e40-342f-2 81> cp /dev/null test
e40-342f-2 82> chmod 0 test
e40-342f-2 83> cat > test
test: Permission denied

I thought afs was supposed to honor the first three protection bits.
What's going on? It won't let me read, but will let me write, a file that
I own of protection zero.

Note also that the append attempt in AFS resulted not in an append,
but a rewrite. I expect that this is a bug in any case.  (Append works
fine, though, if the protection is favorable.)

cfields

home help back first fref pref prev next nref lref last post