We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Originally triaged in #8164
We are using 0o777 - current_umask() to set file permissions, but we should be using a Bitwise AND (0o777 & ~current_umask())
0o777 - current_umask()
0o777 & ~current_umask()
pip/src/pip/_internal/utils/unpacking.py
Line 148 in 43426ee
Line 232 in 43426ee
We would also want to move the two os.chmod calls into a helper function.
os.chmod
The text was updated successfully, but these errors were encountered:
Hi @sbidoul , @pradyunsg
Do we still want to make the above mentioned changes? If yes, I can go ahead and make a PR for the same.
Sorry, something went wrong.
@deveshks yes, please go ahead.
Thanks, I have filed the PR. Please have a look
Successfully merging a pull request may close this issue.
Originally triaged in #8164
We are using
0o777 - current_umask()
to set file permissions, but we should be using a Bitwise AND (0o777 & ~current_umask()
)pip/src/pip/_internal/utils/unpacking.py
Line 148 in 43426ee
pip/src/pip/_internal/utils/unpacking.py
Line 232 in 43426ee
We would also want to move the two
os.chmod
calls into a helper function.The text was updated successfully, but these errors were encountered: