[Mono-bugs] [Bug 74190][Wis] Changed - Console.WriteLine gives UnauthorizedAccessException
Fri, 8 Apr 2005 18:59:44 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/74190 2005-04-08 18:40:05.000000000 -0400
+++ shadow/74190.tmp.6249 2005-04-08 18:59:44.000000000 -0400
@@ -122,6 +122,21 @@
REplace the call to open with:
int fd = Syscall.open("/tmp/test",
+------- Additional Comments From firstname.lastname@example.org 2005-04-08 18:59 -------
+Wait.... I think Mono.Unix is working fine. The idea was to create a
+situation where writing to Console.Out would throw
+UnauthorizedAccessException, since that's the situation I find
+mod-mono-server in after restarting it. I think the Mono.Unix
+behavior above is correct.
+What's possibly not correct is what happens when the application tries
+to write to the console, not knowing that it's been previously dup'ed
+to a read-only file (e.g by Apache, if that's what's happening). I
+think Console.WriteLine should silently ignore errors writing to the