[issue26067] test_shutil fails when gid name is missing

Matthias Braun report at bugs.python.org
Mon Mar 16 16:44:11 EDT 2020


Matthias Braun <matthiasb at fb.com> added the comment:

I have the same issue on my work macbook which has some form of network login configured. The primary group id of my user account there cannot be found in the group database and cannot be resolved to a name.

I'm not sure why that is but I am pretty sure there is no obligation that a gid must be resolvable to a name. I submitted a PR to just skip the last part of the test_shutil/chown if the uid/gid cannot be resolved to a name.

----------
nosy: +Matthias Braun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26067>
_______________________________________


More information about the Python-bugs-list mailing list