[Mono-list] Paths to temporary files

Charles Martin charles@acolytecommunication.com
Wed, 24 Nov 2004 16:56:46 -0500


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

Well guys, I'm still struggling with that permission issue and I wish to 
permanently resolve this error :

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

As I previously reported, setting permissions to 777 on /root temporarly 
fixes it but, it seems like /root resets itself after a while to 700.

I tried "setting the path" as someone mentioned, I tried the following

As root :
# MONO_PATH=/tmp
# MONO_GAC_PREFIX=/tmp
# export MONO_PATH
# export MONO_GAC_PREFIX

And then changed to another user and tried "echoing" those vars, which 
responded correctly, I then stopped and restarted apache (with mod-mono 
etc.) but still got that same error where it tries to read files on 
/root/tmp/nobody...

Are there other variables I should be setting to make mod-mono put his 
temporary dlls elsewhere ?

Thanks again guys for your support...
-- 


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

--------------070003020901070206090204
Content-Type: multipart/related;
 boundary="------------070107090405010900020801"


--------------070107090405010900020801
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">
Well guys, I'm still struggling with that permission issue and I wish
to permanently resolve this error :<br>
<br>
System.UnauthorizedAccessException: Access to the path
"/root/tmp/nobody-temp-aspnet/e828334c" is denied.
<br>
<br>
As I previously reported, setting permissions to 777 on /root
temporarly fixes it but, it seems like /root resets itself after a
while to 700.<br>
<br>
I tried "setting the path" as someone mentioned, I tried the following<br>
<br>
As root : <br>
# MONO_PATH=/tmp<br>
# MONO_GAC_PREFIX=/tmp<br>
# export MONO_PATH<br>
# export MONO_GAC_PREFIX<br>
<br>
And then changed to another user and tried "echoing" those vars, which
responded correctly, I then stopped and restarted apache (with mod-mono
etc.) but still got that same error where it tries to read files on
/root/tmp/nobody...<br>
<br>
Are there other variables I should be setting to make mod-mono put his
temporary dlls elsewhere ?<br>
<br>
Thanks again guys for your support...<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.05020805.07070206@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>

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

R0lGODlhhgAzAMQAALKzqfj4+JOUh+jo5W2UrlpbRtna1YmKe2lqV3Z3ZqipnsrKw8LCu7PH
1Jm0xtTUzoOkueHh3dfi6MrY4VRVP/Ly8Obt8V1eSvD09ru8s8/PyYCAcZ2ekuzs6mBhTf//
/yH5BAAAAAAALAAAAACGADMAAAX/4CeOZGmeaKquYme8RsXOdG3feE5mSY8suqBwSMQBCpcL
hVFsOp9CwMXjWUKv2KxJSrUKA5yD4MAJaM9YbpUprCQoyoQMTW+qvUF3wVOQ1/9Dd2x5CXt9
c4CJN4JDenx+ipE0jG2Fj4iJEg0QnJwODRgpFQsCPaYCDJglHRmlphsKBltTax8VHbgdqiS5
uLcRln0RuANmJBWtpgkCGR1CFg4E0tPUDScLhUnaSX0aJgEKfNvcFwIDJIwKcBcFGygMSHHh
tFQe2hQPJNjx2wUIGcZuYIBAreA0a+gK7LG3jYo/ICMqCEBCZVyXBBFGMIqAgF4+EwcWUlDA
oJ7JevhG/2RgV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w==
--------------070107090405010900020801--

--------------070003020901070206090204--