Éric Araujo <mer...@netwok.org> added the comment:

Same bug.  I’ve added debug prints to find out the rights (UNIX permission 
system) of the files, and they’re very strange: --wxrw--wt (the read bit is 
missing, and the t is strange).  It should be -rwxr-xr-x, like other programs.

The bug is likely this change:
-                os.chmod(target, 0755)
+                os.chmod(target, 755)

An octal literal in 3.x is 0o755.  Decimal 755 means 0o1363, which is not good 
:)

I’ll let you check the Python docs and Wikipedia if you don’t know these rxw or 
octal codes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12394>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to