[issue5113] / test_posix failing on HPUX systems

Charles-Francois Natali report at bugs.python.org
Fri Sep 17 10:52:39 CEST 2010

Charles-Francois Natali <neologix at free.fr> added the comment:

Actually, looking at the man page, this seems to be normal:

In order to change the owner or group, you must own the file and have the CHOWN privilege (see setprivgrp(1M)). [...] Note that a given user's or group's ability to use this command can be restricted by setprivgrp (see setprivgrp(1M)).

So depending on the setting of setprivgrp, chown'ing a file to root may be allowed or not.
It might be a good idea to skip this test on HP-UX. Solaris apparently behaves in the same way.

nosy: +neologix

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list