Re: fyi, 2.0.36 read() EBADF bug

Tim Waugh (tim@cyberelk.demon.co.uk)
Sun, 12 Sep 1999 10:39:39 +0100 (GMT)


On Sun, 12 Sep 1999, Clayton Weaver wrote:

> chmod(fdpath, S_IRUSR); /* no problem, fchmod() works ok too */

Did you open the file for reading as well as writing?

Tim.
*/

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