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:

Comments (1)

  1. Log in to comment