[Mono-bugs] [Bug 70706][Nor] New - Mono.Posix.Syscall.access results in EntryPointNotFoundException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Dec 2004 18:45:56 -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 cgaisford@novell.com.

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

--- shadow/70706	2004-12-20 18:45:56.000000000 -0500
+++ shadow/70706.tmp.17910	2004-12-20 18:45:56.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 70706
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: NLD 1.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.POSIX
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: cgaisford@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono.Posix.Syscall.access results in EntryPointNotFoundException
+
+Making a call to Mono.Posix.Syscall.access results in the following
+exception being thrown:
+
+System.EntryPointNotFoundException: syscall_access
+in <0x00050> (wrapper managed-to-native) Mono.Posix.Syscall:syscall_access
+(string,int)
+in <0x0001d> Mono.Posix.Syscall:access (string,Mono.Posix.AccessMode)
+in <0x00135> Simias.Web.SharedCollection:CanBeCollection (string)
+ 
+System.EntryPointNotFoundException: syscall_access
+in <0x00050> (wrapper managed-to-native) Mono.Posix.Syscall:syscall_access
+(string,int)
+in <0x0001d> Mono.Posix.Syscall:access (string,Mono.Posix.AccessMode)
+in <0x00135> Simias.Web.SharedCollection:CanBeCollection (string)
+
+
+On an NLD box, compile and run the following application:
+
+
+using System;
+                                                                          
+     
+                                                                          
+     public class tester
+{
+    public static void Main (string[] args)
+    {
+        try
+        {
+            Mono.Posix.Syscall.access("/tmp", Mono.Posix.AccessMode.W_OK);
+        }
+        catch(Exception e)
+        {
+            Console.WriteLine(e);
+        }
+    }
+}