fyi -- linus has accepted a patch into 2.6.16 which fixes the kernel's behaviour in this case. the kernel was requiring O_APPEND in F_SETFL on append-only files even if the file was opened for read-only... now it requires that the F_SETFL isn't trying to change the O_APPEND flag on an append-only file.
just mentioning it in case you try to reproduce the problem in the future -- you'll need an older kernel. -dean -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]