Another way is to set environment variable PYTHON_EGG_CACHE to
something accessible by user that paster switches to after starting
the daemon.

On May 4, 7:59 am, askel <[EMAIL PROTECTED]> wrote:
> On May 3, 9:27 am, "C.  Handel" <[EMAIL PROTECTED]> wrote:
>
>
>
> > When i try to start a paster-service using the --user flag i run into
> > some permission problems
>
> > I tried to use this command to start the service:
>
> > paster serve server.ini --user=www
>
> > Paster will create a temporary objectstore in the homedirectory of
> > root. Then it will drop privileges and can't access it anymore:
>
> > /root/.python-eggs/MySQL_python-.../_mysql.so: cannot open shared
> > object file: Permission denied
>
> > Any nice workaround except
>
> > su - www -c paster server server.ini
>
> > Greetings
> >    Christoph
>
> I always install/upgrade packages using -Z options of easy_install.
> This problem is caused by needs to unpack egg files before Python can
> load anything from them.


--~--~---------~--~----~------------~-------~--~----~
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