[Mono-list] Reset mono

Robert Jordan robertj at gmx.net
Wed Jun 17 08:41:28 EDT 2009


Andrus Moor wrote:
> Robert,
> 
>> You have the rights implicitly. Write a page or WS method
>> that performs
>>
>> System.IO.Directory.Move("/tmp/www-data-temp-aspnet-0",
>> /tmp/www-data-temp-aspnet-0.old");
> 
> I tried
> 
> System.IO.Directory.Move("/tmp/www-data-temp-aspnet-0",
>  "/tmp/www-data-temp-aspnet-0.old");

Have you called this from an ASP.NET app? Otherwise it won't
work.


> ls: cannot open directory /tmp/www-data-temp-aspnet-0: Permission denied
> 
> How to move this directory ?

If you don't manage to rename it as above, only an admin will
be able to do it.

> 
>> and restart mod-mono.
> 
> Should I use mono control panel to restart it ?

Yes.

Robert



More information about the Mono-list mailing list