[Mono-list] Mod_mono permission issues...

Charles Martin charles@acolytecommunication.com
Tue, 16 Nov 2004 16:11:33 -0500


This is a multi-part message in MIME format.
--------------010201000207060305050503
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi all !

    Could you guys help me resolving this issue with mod_mono :

I've got the following error when trying to run the demo application :


  Server error in '/demo' application

------------------------------------------------------------------------
*Description: *Error processing request.

*Error Message: *HTTP 500.

*Stack Trace: * ||

System.UnauthorizedAccessException: Access to the path "/root/tmp/nobody-temp-aspnet/e367c7b0" is denied.

I tried to put the permissions to 777 on that folder 
(/root/tmp/nobody-temp-aspnet) recursively but with no luck, I also 
tried to chown it to apache:apache and nobody:nogroup (also recursively) 
without any luck either...

I also tried a couple of things from my googling but none seems to 
change anything on my installation

Otherwise, my apache server seems to run just fine and, I can run my 
asp.net application with xsp (standalone) just fine too. I installed all 
the pieces (apache2, mono, xsp and mod_mono) from source just a couple 
days ago.

If this can be any help, the box is running mandrake linux 10.0 with a 
very minimal set of rpms installed on an old pentium 200...

I know I should not be mixing too much rpms with source installs but the 
mono project is moving way to fast to just install the binaries mandrake 
ships...

Thanks in advance !

-- 


Charles Martin  Programmeur analyste
819.378.4242    *acolyte*communication.com
charles@acolytecommunication.com

--------------010201000207060305050503
Content-Type: multipart/related;
 boundary="------------090800060408080406060807"


--------------090800060408080406060807
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all !<br>
<br>
&nbsp;&nbsp;&nbsp; Could you guys help me resolving this issue with mod_mono :<br>
<br>
I've got the following error when trying to run the demo application : <br>
<h1><font color="red">Server error in '/demo' application</font></h1>
<hr>
<b>Description: </b>Error processing request.
<p><b>Error Message: </b>HTTP 500. </p>
<b>Stack Trace: </b>
<code></code>
<pre>System.UnauthorizedAccessException: Access to the path "/root/tmp/nobody-temp-aspnet/e367c7b0" is denied.</pre>
I tried to put the permissions to 777 on that folder
(/root/tmp/nobody-temp-aspnet) recursively but with no luck, I also
tried to chown it to apache:apache and nobody:nogroup (also
recursively) without any luck either...<br>
<br>
I also tried a couple of things from my googling but none seems to
change anything on my installation<br>
<br>
Otherwise, my apache server seems to run just fine and, I can run my
asp.net application with xsp (standalone) just fine too. I installed
all the pieces (apache2, mono, xsp and mod_mono) from source just a
couple days ago.<br>
<br>
If this can be any help, the box is running mandrake linux 10.0 with a
very minimal set of rpms installed on an old pentium 200...<br>
<br>
I know I should not be mixing too much rpms with source installs but
the mono project is moving way to fast to just install the binaries
mandrake ships...<br>
<br>
Thanks in advance !<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.04090304.03040703@acolytecommunication.com" alt=""
 border="0"><br>
<br>
<font style="font-size: 12px;" color="#60614d"
 face="Arial, Helvetica, Trebuchet MS, Avant Garde, AvantGarde Bk BT"><font
 color="#7096af">Charles Martin</font>&nbsp;&nbsp;Programmeur analyste<br>
819.378.4242&nbsp;&nbsp;&nbsp;&nbsp;<b>acolyte</b>communication.com<br>
<a class="moz-txt-link-abbreviated" href="mailto:charles@acolytecommunication.com">charles@acolytecommunication.com</a></font><br>
</div>
</body>
</html>

--------------090800060408080406060807
Content-Type: image/gif;
 name="acolytetag.gif"
Content-Transfer-Encoding: base64
Content-ID: <part1.04090304.03040703@acolytecommunication.com>
Content-Disposition: inline;
 filename="acolytetag.gif"

R0lGODlhhgAzAMQAALKzqfj4+JOUh+jo5W2UrlpbRtna1YmKe2lqV3Z3ZqipnsrKw8LCu7PH
1Jm0xtTUzoOkueHh3dfi6MrY4VRVP/Ly8Obt8V1eSvD09ru8s8/PyYCAcZ2ekuzs6mBhTf//
/yH5BAAAAAAALAAAAACGADMAAAX/4CeOZGmeaKquYme8RsXOdG3feE5mSY8suqBwSMQBCpcL
hVFsOp9CwMXjWUKv2Kx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AxlkyTBzAXF
gAEF+CSdyXkARjkgAzAEoAPsHGVUOVJFYKjoAVG1iiflNz5YCGB85pDBAWTQUXW+j00C6AAU
VWZO8l0xXRnw5GAmu9HaMEG0ZH3KNm05WVkWrZtAWGhfEOAZpKRrDhtFxQGumg8QbuABARXA
C4ZDzXQWMiNBFUFAjWtGcnqmA6hYEAdiKkcpZm+jPTwUnxg3sIF5DQCEbAWHGDJi1w0w4IKw
kAEDgGBG8Qr3tk/55Bg8IwIMbEAWB0vXVReQAe5+SIfca2IJQgAAOw==
--------------090800060408080406060807--

--------------010201000207060305050503--