[Distutils] [buildout] setuptools/buildout trying to use /root/.python-eggs after setuid()ing with Zope
Andreas Jung
lists at zopyx.com
Wed Feb 4 17:17:01 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I am not sure which component is in charge for the following issue:
- standard Plone 3.1 installation installed with paster/Zopeskel
with a 'zope' account without special privileges
- in the instance is started from through /etc/init.d as root
but immediately setuid to effective-user 'zope'
- after setuid(), setuptools is trying to write to /root/.python-eggs
during the startup-phase for (my own) module zopyx.textindexng3
- - it creates inside:
new:~/.python-eggs # ls -la
total 1
drwxrwxrwx 3 root root 144 Feb 4 13:17 .
drwxr-xr-x 24 root root 1200 Feb 4 17:10 ..
- -rw-r--r-- 1 zope users 0 Feb 4 13:17 a
drwxr-xr-x 3 zope users 72 Feb 4 13:17
zopyx.textindexng3-4.0.1-py2.4-linux-x86_64.egg-tmp
Why is setuptools using /root/.python-eggs only for this particular
module and isn't it using something like /home/zope/.python-eggs
instead - especially having changed the UID already?
Andreas
- --
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info at zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkmJv30ACgkQCJIWIbr9KYwFVACbBM1JaanJvokkXLwcyMc6Dc4y
FCoAoIfG2qniHaLZbxS3OeGzh2fZkffe
=g4Ta
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090204/c7695783/attachment.vcf>
More information about the Distutils-SIG
mailing list