This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, sjoerd, vstinner
Date 2008-12-09.10:09:29
SpamBayes Score 0.007014121
Marked as misclassified No
Message-id <1228817372.24.0.328257712682.issue4591@psf.upfronthosting.co.za>
In-reply-to
Content
There is not only chown! There are also lchown(), fchown(), stat() and 
lstat().

Attached patch:
 - use "unsigned int" to store Windows st_uid/st_gid in the win32_stat 
structure
 - use PyLong to store an unsigned group in the stat result (because 
2^32-2 doesn't fit in a PyInt)
 - use "unsigned int" (instead of long) for uid/gid in chown, lchown 
and fchown

Note: *chown() accepts -1 for an argument, eg. chown("file", 10, -1) 
only changes the user group.
History
Date User Action Args
2008-12-09 10:09:32vstinnersetrecipients: + vstinner, sjoerd, amaury.forgeotdarc
2008-12-09 10:09:32vstinnersetmessageid: <1228817372.24.0.328257712682.issue4591@psf.upfronthosting.co.za>
2008-12-09 10:09:31vstinnerlinkissue4591 messages
2008-12-09 10:09:30vstinnercreate