[Mono-aspnet-list] CommonApplicationData alternative

APS dev.malst at apsystems.it
Fri Oct 30 06:37:51 EDT 2009


Hi everyone,

in MS.NET/Win I was using 
System.Environment.SpecialFolder.CommonApplicationData to store data 
files but in linux this directory is usually 755 with user root and 
the web application runs with apache user so the directory is not writable.
Even in windows the directory is writable by admins only but also the 
aspnet user has access to it probably cause is in the SYSTEM group.
As I don't want to change access permissions on /usr/share, what is 
the correct system directory where to store data from an asp.net application?
Thanks in advance.




More information about the Mono-aspnet-list mailing list