Author bethard
Recipients SilentGhost, Tarsis.Azevedo, akira, bethard, doughellmann, eric.araujo, georg.brandl
Date 2011-01-23.11:55:58
SpamBayes Score 5.53669e-05
Marked as misclassified No
Message-id <>
The docs for os.chmod claim:

Availability: Unix, Windows.
Although Windows supports chmod(), you can only set the file's read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or a corresponding integer value). All other bits are ignored.

So at least according to the current docs, we should be okay calling `os.chmod(file_path, stat.S_IREAD)` on Unix and Windows (and of course OS X too). Is that enough or did you have other platforms in mind?
Date User Action Args
2011-01-23 11:56:02bethardsetrecipients: + bethard, georg.brandl, eric.araujo, doughellmann, SilentGhost, akira, Tarsis.Azevedo
2011-01-23 11:56:02bethardsetmessageid: <>
2011-01-23 11:55:58bethardlinkissue9509 messages
2011-01-23 11:55:58bethardcreate