Message77399
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. |
|
Date |
User |
Action |
Args |
2008-12-09 10:09:32 | vstinner | set | recipients:
+ vstinner, sjoerd, amaury.forgeotdarc |
2008-12-09 10:09:32 | vstinner | set | messageid: <1228817372.24.0.328257712682.issue4591@psf.upfronthosting.co.za> |
2008-12-09 10:09:31 | vstinner | link | issue4591 messages |
2008-12-09 10:09:30 | vstinner | create | |
|