Ramon Diaz-Uriarte wrote:
> Dear All,
> 
> When a web application generates lots of extra stuff that gets stored
> for a while (e.g., temporal files with results ---ours are a bunch of
> bioinformatics applications: http://asterias.info), what is the most
> appropriate place to install the egg?
> 
> Since lots of stuff gets modified and added, as part of the
> application execution, I think it is best to have the application
> installed in the home of the web-server user, not as root. This allows
> to set user quotas, prevent /usr/lib/python2.4/site-packages/ from
> filling up with junk and, I think, is less likely to lead to security
> issues.
> 
> Does this make sense?

FWIW, I use workingenv to keep my web apps straight instead of 
installing them with the system libraries: 
http://cheeseshop.python.org/pypi/workingenv.py/0.2

The virtual-python script 
(http://peak.telecommunity.com/dist/virtual-python.py) serves much the 
same purpose, but with a slightly different technique.


-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to