[Mono-bugs] [Bug 82617][Min] New - Wrong file permissions used for the '-win32icon:foo.ico' command line parameter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 28 15:34:49 EDT 2007

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 danm at inin.com.


--- shadow/82617	2007-08-28 15:34:49.000000000 -0400
+++ shadow/82617.tmp.19305	2007-08-28 15:34:49.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 82617
+Product: Mono: Compilers
+Version: 1.2
+OS Details: RHEL WS 4
+Status: NEW   
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: danm at inin.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Wrong file permissions used for the '-win32icon:foo.ico' command line parameter
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When I compile with the command line of
+  gmcs [...] -win32icon:foo.ico [...]
+and the foo.ico happens to be in mode 444 (ie, read-only) the compile fails
+with a .NET exception about System.UnauthorizedAccessException.  If a
+change the mode to 666 (ie, read/write) then the compile succeeds.  The
+icon should be usable in read-only mode.  (and MS Windows allows the icon
+to be read-only if that matters)
+Additional Information:
+Using the latest source from SVN as of today.

More information about the mono-bugs mailing list