1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #340 new

Permissions leak from sdist to generated egg

Fred Drake
created an issue

Permissions can leak from an sdist into a generated egg for files simply copied from the sdist (like metadata).

If the sdist is created from files with user-only permissions (umask 022), but distribute is invoked to create an egg with umask 002, some files are copied from the sdist with user-only permissions, while others are created with the expected user+group permissions.

Files in the generated egg should consistently reflect the umask at the time of egg creation.

Example offending sdist: http://pypi.python.org/packages/source/z/zc.queue/zc.queue-1.3.tar.gz#md5=93113bec10a9ddb51b774607fe2a683d

Comments (1)

  1. Log in to comment