Message77399
| 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: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 |
|