[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

Marco report at bugs.python.org
Mon Jun 22 19:19:09 CEST 2009


Marco <marcusbu at gmail.com> added the comment:

hmm.. the problem is that Windows doesn't support well permissions as
all the other POSIX compliant OSs ...
I've searched for a solution on the web, and I've found a complete
answer on:
http://stackoverflow.com/questions/592448/c-how-to-set-file-permissions-cross-platform

The patch doesn't work well since it only checks for User's permissions
so it works well for that. 
Maybe using the Windows API you can change the permissions as you want.
But since I don't know them, I can't help anymore :(

----------

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


More information about the Python-bugs-list mailing list