Re: fyi, 2.0.36 read() EBADF bug (it was O_WRONLY)

Sean Hunter (sean@uncarved.co.uk)
Mon, 13 Sep 1999 10:19:00 +0100


On Sun, Sep 12, 1999 at 10:09:59PM -0700, Clayton Weaver wrote:
> Ok, Waugh's question clued me to the fact that once you open
> a file descriptor write-only, you can't change it to readable
> without closing it first, regardless of what you may do to the
> filesystem inode with fchmod()/chmod().
>
> So this is a unix bug rather than a linux bug?

Its not a bug at all.

Sean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/