[Mono-list] Moma Reports dir

Phillip Neumann pneumann at gmail.com
Fri Mar 30 10:42:01 EDT 2007


Hi Jonathan..

I know this is just a little detail.. moma is greate :)

El vie, 30-03-2007 a las 08:52 -0500, Jonathan Pobst escribió:
> As for the reports, I'm not really sure how much of a difference
> there 
> is.  If MoMA stored all the reports ever made, I think it would make 
> sense to store them in the user's directory.  However, since it only 
> stores the most recent report, its really more of a temporary
> directory 
> than user storage of reports.  Since the user (in theory) doesn't
> access 
> the report directly from the file system, it doesn't really matter
> where 
> it is.

Sound right.

Well currently, moma is saving reports to /usr/local/lib/moma/Reports
(wich needs to be o+rwx...)

imaging this:

- User A, uses moma and it creates a report there.
- User B, uses moma and get a nice
System.UnauthorizedAccessException: Access to the path
"/usr/local/lib/moma/Reports/output.html" is denied.


Maybe it would be a better idea to
use /tmp/moma-Report-user-random_string instead of user's home..



thanks!!..





More information about the Mono-list mailing list