[317] in Info-AFS_Redistribution
Re: Question regarding permissions
daemon@ATHENA.MIT.EDU (Phil_Hirsch@transarc.com)
Thu Sep 19 20:27:08 1991
Date: Thu, 19 Sep 1991 18:08:10 -0400 (EDT)
From: Phil_Hirsch@transarc.com
To: Info-AFS@transarc.com (Info-AFS Mailing List)
In-Reply-To: <9109191654.AA03020@daedalus.dcrt.nih.gov>
I think you're seeing a manifestation of a known AFS bug; the description in
my notes is this:
This shows up only under SunOS, HP/UX,
and RT-AOS. If you attempt to call open() on an existing file which has
Unix mode bits set to allow write permission but not read permission
(e.g., --w--w--w), and if you use open() flags O_WRONLY|O_CREAT, the
open() fails with errno 13 (EACCES). Under UFS, the open() succeeds.
This was discussed here in February, in a thread titled "A question on
protection semantics". At that time, I posted a short program which
demonstrates the bug. Let me know if you don't have access to posts from
February, in which case I'll send you the relevant postings.