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 Arfrever
Recipients Arfrever
Date 2011-02-28.19:40:37
SpamBayes Score 0.0035153541
Marked as misclassified No
Message-id <1298922038.05.0.695997862178.issue11355@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-28 19:40:38Arfreversetrecipients: + Arfrever
2011-02-28 19:40:38Arfreversetmessageid: <1298922038.05.0.695997862178.issue11355@psf.upfronthosting.co.za>
2011-02-28 19:40:37Arfreverlinkissue11355 messages
2011-02-28 19:40:37Arfrevercreate