Message129720
os.mkdir() and os.mkdirat() use libc's mkdir() and mkdirat(), which can ignore SUID/SGID permissions. This problem occurs at least on systems using glibc. The solution is to call chmod() / fchmodat() to ensure that given directory has been created with requested permissions. I'm attaching the patch. |
|
Date |
User |
Action |
Args |
2011-02-28 19:40:38 | Arfrever | set | recipients:
+ Arfrever |
2011-02-28 19:40:38 | Arfrever | set | messageid: <1298922038.05.0.695997862178.issue11355@psf.upfronthosting.co.za> |
2011-02-28 19:40:37 | Arfrever | link | issue11355 messages |
2011-02-28 19:40:37 | Arfrever | create | |
|