[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

Sijin Joseph report at bugs.python.org
Mon Apr 18 23:26:20 CEST 2011


Sijin Joseph <sijinjoseph at gmail.com> added the comment:

>From reading http://support.microsoft.com/kb/899147 it does look like the .dll extension needs to have the "Read & Execute" permission in order to have code from the .dll be executed. It's odd that there isn't documentation that's easily searchable to confirm this.

Also what about scripts, .vbs, .ps1 etc. Should those be considered executables as well?

----------
nosy: +sijinjoseph

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10888>
_______________________________________


More information about the Python-bugs-list mailing list