[Mono-bugs] [Bug 54032][Nor] Changed - mcs fails to build assembly on vfat mounted volume

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Apr 2004 13:41:53 -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 gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=54032

--- shadow/54032	2004-04-28 12:19:54.000000000 -0400
+++ shadow/54032.tmp.7718	2004-04-28 13:41:53.000000000 -0400
@@ -37,6 +37,21 @@
 ------- Additional Comments From bmaurer@users.sf.net  2004-04-28 12:19 -------
 What exactly is the problem that is happening with io.c? Can you 
 reproduce this indepenant of MCS. If you can explain exactly why the 
 calls we make fail, it would be easy for someone to fix.
 
 Also, is this on MS windows with a fat volume, or on linux?
+
+------- Additional Comments From gert.driesen@pandora.be  2004-04-28 13:41 -------
+This happens when the output file is located on a linux mounted vfat
+volume.
+
+The cause seems to be this call (in ModuleBuilder.Save()):
+
+//
+// The constant 0x80000000 is internal to Mono, it means `make executable'
+//
+File.SetAttributes (fileName, (FileAttributes) (unchecked ((int)
+0x80000000)));
+                                                                     
+      
+which in the end calls SetFileAttributes in io.c.