Le mercredi 25 octobre 2006 à 22:05 +1000, Ben Finney a écrit : > Antoine Pitrou <[EMAIL PROTECTED]> writes: > > > But an annoying side-effect is that, when you first run "sudo python > > setup.py develop" (or "install"), it also creates directories in the > > local directory under the root user. > > You can configure sudo to set HOME to the home directory of the target > user. To do this every time the target is 'root', edit sudoers and add > this line:
Sorry, my wording was misleading. I meant that setuptools creates subdirectories inside the local project directory (which is fine), and if it was invoked with "sudo" those subdirectories are owned by the root user (which is less fine). _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig