[Mono-list] Paths to temporary files

Charles Martin charles@acolytecommunication.com
Thu, 25 Nov 2004 10:09:27 -0500


This is a multi-part message in MIME format.
--------------050001090002010708010607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Wow, it finally works :-D

If anyone else encounters that problem of misplaced temporary dll files, 
setting the correct TMP and TMPDIR and exporting them does the trick 
perfectly.

It still feels pretty incredible to run asp.net applications on an old 
P200. It's surprisingly responsive (once it gets compiled !)

It's a great community you have here guys !



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


Arnaud Bienvenu wrote:

> Charles Martin a écrit :
>
>> 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.
>
>
> I guess you launch apache manually from user root (on Mandrake, as you 
> stated), so before launching apache, do :
> export TMP="/tmp"
> export TMPDIR="/tmp"
>
> I think your problem is not related to mono, but only to your apache 
> setup. However, Gonzalo's tip may be a good one too:
> <compilation tempDirectory="/blah/blah" />
>

--------------050001090002010708010607
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">
Wow, it finally works :-D<br>
<br>
If anyone else encounters that problem of misplaced temporary dll
files, setting the correct TMP and TMPDIR and exporting them does the
trick perfectly.<br>
<br>
It still feels pretty incredible to run asp.net applications on an old
P200. It's surprisingly responsive (once it gets compiled !)<br>
<br>
It's a great community you have here guys !<br>
<br>
<div class="moz-signature"><img moz-do-not-send="true"
 src="http://www.acolytecommunication.com/images/acolytetag.gif" 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>
<br>
<br>
Arnaud Bienvenu wrote:
<blockquote cite="mid41A593E2.3030604@makina-corpus.org" type="cite">Charles
Martin a &eacute;crit :
  <br>
  <blockquote type="cite">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>
  </blockquote>
  <br>
I guess you launch apache manually from user root (on Mandrake, as you
stated), so before launching apache, do :
  <br>
export TMP="/tmp"
  <br>
export TMPDIR="/tmp"
  <br>
  <br>
I think your problem is not related to mono, but only to your apache
setup. However, Gonzalo's tip may be a good one too:
  <br>
&lt;compilation tempDirectory="/blah/blah" /&gt;
  <br>
  <br>
</blockquote>
</body>
</html>

--------------050001090002010708010607--