Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDM backend builds wheel and sdist with different permissions #187

Closed
SamyAB opened this issue Jun 26, 2023 · 0 comments
Closed

PDM backend builds wheel and sdist with different permissions #187

SamyAB opened this issue Jun 26, 2023 · 0 comments

Comments

@SamyAB
Copy link

SamyAB commented Jun 26, 2023

Hi,

I noticed that pdm-backend builds wheels with mode 0o600, and sdists with mode 0o644. I would have expected them to have the same permissions.

From what I can gather from the source code, the wheels have the same mode as tempfile.NamedTemporaryFile, which is used to create the ZIP File, that is then copied using shutil.move() to the target.

Is this the intended behavior ?

Note: It seems other builders use 0o644 for wheels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant