#1403 closed defect (invalid)

"sudo python setup.py install" makes requires.txt unreadable except root

Reported by: socrates1024 Owned by: socrates1024
Priority: major Milestone: 1.11.0
Component: packaging Version: 1.8.1
Keywords: setuptools install unix Cc:
Launchpad Bug:

Description (last modified by warner)

Right after python setup.py build and sudo python setup.py install, running $ tahoe gives this error: https://gist.github.com/967983

I checked, and the file is in fact unreadable

-rw------- 1 root staff 208 2011-05-12 01:22 /usr/local/lib/python2.6/dist-packages/allmydata_tahoe-1.8.1-py2.6.egg-info/requires.txt

Running standalone, with bin/tahoe works just fine

Change History (4)

comment:1 Changed at 2011-05-12T05:42:59Z by socrates1024

  • Description modified (diff)

comment:2 Changed at 2011-05-12T12:30:09Z by davidsarah

Please do 'sudo echo foo >testfile; ls -l testfile', to get root's umask.

comment:3 Changed at 2011-05-21T00:20:13Z by davidsarah

  • Component changed from unknown to packaging
  • Keywords setuptools install unix added
  • Owner changed from nobody to socrates1024

comment:4 Changed at 2016-03-26T21:37:02Z by warner

  • Description modified (diff)
  • Milestone changed from undecided to 1.11.0
  • Resolution set to invalid
  • Status changed from new to closed

I think this was a problem with his root umask. Also, we no longer recommend installing as root to the system: our current virtualenv-based instructions won't require that.

Closing as INVALID. Please feel free to re-open if you disagree.

Note: See TracTickets for help on using tickets.