##// END OF EJS Templates
posix: ignore execution bit in cygwin (issue3301)
A. S. Budden -
r16240:95e45abe default
parent child Browse files
Show More
@@ -270,6 +270,13 b" if sys.platform == 'cygwin':"
270 270
271 271 return encodingupper(path)
272 272
273 # Cygwin translates native ACLs to POSIX permissions,
274 # but these translations are not supported by native
275 # tools, so the exec bit tends to be set erroneously.
276 # Therefore, disable executable bit access on Cygwin.
277 def checkexec(path):
278 return False
279
273 280 def shellquote(s):
274 281 if os.sys.platform == 'OpenVMS':
275 282 return '"%s"' % s
General Comments 0
You need to be logged in to leave comments. Login now