[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result
Martin v. Löwis
report at bugs.python.org
Wed Jan 12 00:01:16 CET 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
Brian: "On native Windows, "Read & Execute" has no real affect on applications". Why do you say that? The FILE_EXECUTE permission certainly has a meaning on Windows, see
http://msdn.microsoft.com/en-us/library/gg258116(v=vs.85).aspx
I agree that FILE_EXECUTE is, in principle, mostly the equivalent of the x bit on POSIX. Unfortunately, it's also confusing, since most files have that permission.
----------
nosy: +loewis
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10888>
_______________________________________
More information about the Python-bugs-list
mailing list