Author vstinner
Recipients akuchling, eric.araujo, jaraco, ned.deily, python-dev, tarek, vstinner
Date 2013-11-16.00:12:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwa3DQH7UZkvvdaCOEhcKuj+ti9xppP_Wn8oS51mG6jkmA@mail.gmail.com>
In-reply-to <3dLxLX3XxzzR4H@mail.python.org>
Content
> At changeset 015463176d2e2530e4f07cfbe97e41abac540a57, test_make_distribution_owner_group() was failing on some buildbots.

The problem is that tempfile.mkdtemp() creates a directory with the
group 0. Files created in this directory also have the group 0.

The test uses os.getpid() to get the group identifier.

The test should use os.stat(self.tmp_dir).st_gid (and st_uid) instead
of os.getgid(), or the tmp_dir directory. Or the group of the
temporary directory should be changed to os.getgid().

I don't know if distutils should create tarball with the group 0 or
the group of the current user.
History
Date User Action Args
2013-11-16 00:12:15vstinnersetrecipients: + vstinner, akuchling, jaraco, tarek, ned.deily, eric.araujo, python-dev
2013-11-16 00:12:15vstinnerlinkissue19544 messages
2013-11-16 00:12:15vstinnercreate