[lkml]   [1999]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: fyi, 2.0.36 read() EBADF bug (it was O_WRONLY)
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

"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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [W:0.041 / U:2.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site