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
reset owner/group to root for distutils tarballs #50765
Comments
Please allow to create tarballs with owner/group of files be set to root. One possible fix is to change cmd in distutils/archive_util.py to this: cmd = ["tar", "-cf", archive_name, "--owner=root", "--group=root", base_dir] |
what would be the use case for that ? |
I want to create uniform tarballs, independent of which username was |
We can add two options to the commands that create tarballs:
but we first need to add this capacity to the tarfile module because I am going to add another issue with a proposal for this. |
bpo-6856 created. |
bpo-6856 was added by Lars, so I can move forward and work on this one. |
done in r75192 and r75194. Thanks Till ! |
Hello Tarek, done in r75192 and r75194. Thanks Till ! Can you please tell me how to get this correction into use? |
I just took download of the latest python 2.6.3 which was updated on 2nd |
Hi Bheemesh, This is a new feature, so it was added in the current trunk that will So unfortunately, you can't have it in any 2.6 release. A workaround is to create your own sdist command, that includes the |
HI Tarek, Thanks very much for a quick reply here. Best Regards, On Tue, Oct 6, 2009 at 5:59 PM, Tarek Ziadé <report@bugs.python.org> wrote:
|
This change was rolled back before the release of 3.2, so only exists in 2.7. See bpo-19544 for details. |
Here's an updated patch, to be applied against the default branch. |
Patch looks good to me. |
New changeset b9c9c4b2effe by Andrew Kuchling in branch 'default': |
New changeset b08868fd5994 by Christian Heimes in branch 'default': |
New changeset 015463176d2e by Victor Stinner in branch 'default': |
New changeset 83f12a9593db by Zachary Ware in branch 'default': |
New changeset 2a872126f4a1 by Zachary Ware in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: