[Mono-bugs] [Bug 69520][Wis] New - "No such file" error when its really permissions.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Nov 2004 15:35:13 -0500 (EST)


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 adam@homeport.org.

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

--- shadow/69520	2004-11-15 15:35:13.000000000 -0500
+++ shadow/69520.tmp.17919	2004-11-15 15:35:13.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 69520
+Product: Mono: Runtime
+Version: 1.0
+OS: unknown
+OS Details: Mandrake 10.1 community (not listed)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: adam@homeport.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "No such file" error when its really permissions.
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Install mono-1.04 from source on mandrake with msec at 4
+(Msec is mandrake's security tool, and may relate to this bug's genesis.)
+2. Note really tight permissions on files like /usr/lib/mono/gac/System.Web/
+1.0.5000.0__b03f5f7f11d50a3a/System.Web.dll
+3. Watch mono claim "no such file or directory," rather than "permission denied"
+
+Actual Results:
+
+strace -e open mono /usr/bin/xsp.exe
+
+(blah blah)
+open("/usr/lib/mono/gac/System.Web/1.0.5000.0__b03f5f7f11d50a3a/System.Web.dll", 
+O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)
+open("/usr/bin/System.Web.dll", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
+directory)
+open("/usr/lib/System.Web.dll", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
+directory)
+
+** (/usr/bin/xsp.exe:31932): WARNING **: Could not find assembly System.Web, references from 
+/usr/bin/xsp.exe (assemblyref_index=1)
+     Major/Minor: 1,0
+     Build:       5000,0
+     Token:       b03f5f7f11d50a3a
+System error: No such file or directory
+
+cannot open assembly /usr/bin/xsp.exe
+
+Expected Results:
+
+System error: Can't open file $FILE
+
+How often does this happen? 
+Every time.
+
+Additional Information: