Egg problem (~/.python-eggs)
Mike Orr
sluggoster at gmail.com
Wed Aug 30 20:31:14 EDT 2006
Mike Orr wrote:
> I'm trying to install a program that uses Durus on a server. It
> appears that if a Python program uses eggs, it creates a
> ~/.python-eggs/ directory, so the home directory must be writeable.
> This conflicts with server environments where you want to run a daemon
> with minimum privileges. Second, it appears to use the real user ID
> rather than the effective user ID to choose the home directory. In
> this case I'm trying to use start-stop-daemon on Linux to start my
> Python program, switching from user 'root' to user 'apache'.
I solved the immediate problem by reinstalling Durus as a directory egg
rather than a compressed egg. So is the answer just not to use
compressed eggs?
--Mike <sluggoster at gmail.com>
More information about the Python-list
mailing list