Hi All, I believe I have some permission setting issue with user account other than root here is my situation:
I am using mono 2.4 with suse 10.3 Login as root user run mono everything works like a charm. Login as other user run the same script with mono and everything same I got the following error: NUnit version 2.2.9 Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole. Copyright (C) 2000-2003 Philip Craig. All Rights Reserved. OS Version: Unix 2.6.22.5 Mono Version: 2.0.50727.1433 Unhandled Exception: System.ExecutionEngineException: Failed to create shadow copy (ensure directory exists). Server stack trace: at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool) at System.Reflection.Assembly.LoadFrom (System.String assemblyFile, System.Security.Policy.Evidence securityEvidence) [0x00000] at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName, Boolean ignoreCase, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Security.Policy.Evidence securityInfo) [0x00000] at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName, System.Object[] activationAttributes) [0x00000] at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName) [0x00000] at System.AppDomain.CreateInstanceFrom (System.String assemblyFile, System.String typeName) [0x00000] at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceFrom (string,string) at System.AppDomain.CreateInstanceFromAndUnwrap (System.String assemblyName, System.String typeName) [0x00000] at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceFromAndUnwrap (string,string) at (wrapper xdomain-dispatch) System.AppDomain:CreateInstanceFromAndUnwrap (object,byte[]&,byte[]&,string,string) Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceFromAndUnwrap (string,string) at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceFromAndUnwrap (string,string) at NUnit.Util.TestDomain.MakeRemoteTestRunner (System.AppDomain runnerDomain) [0x00000] at NUnit.Util.TestDomain.Load (NUnit.Util.NUnitProject project, System.String testName) [0x00000] Then I tried to use sudo to run the script with mono and got error on cannot access certain dll (which my script using). I believe there is some permission setup for this non root user. Please help me identified what is wrong, I am pretty new to mono...forgive me if this is a simple problem -Chris -- View this message in context: http://www.nabble.com/user-permission-for-mono-tp23106012p23106012.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
