[issue1747858] chown broken on 64bit

Sean Reifschneider report at bugs.python.org
Wed Jan 16 08:10:54 CET 2008


Sean Reifschneider added the comment:

It seems like the problem here is that chown is defined to take -1 for
the arguments, where the underlying platform may define chown taking
unsigned uid/gid.

I think in the short term we will need to apply a patch like one of the
ones included here, but in the long term maybe something like
"chown(path, uid = None, gid = None)"?  With "chown(path, gid = 69)". 
Does it make sense to use None instead of -1 in the long term?

----------
keywords: +64bit, patch
nosy: +jafo
type:  -> behavior

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1747858>
_____________________________________


More information about the Python-bugs-list mailing list