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

Clayton Weaver (cgweav@eskimo.com)
Sun, 12 Sep 1999 22:09:59 -0700 (PDT)


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?

Thanks for the tip,

Clayton Weaver
<mailto:cgweav@eskimo.com>
(Seattle)

"Everybody's ignorant, just in different subjects." Will Rogers

-
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/