Show More
@@ -181,7 +181,7 b' def checkexec(path):' | |||||
181 | except OSError as e: |
|
181 | except OSError as e: | |
182 | if e.errno != errno.ENOENT: |
|
182 | if e.errno != errno.ENOENT: | |
183 | raise |
|
183 | raise | |
184 |
|
|
184 | open(checknoexec, 'w').close() # might fail | |
185 | m = os.stat(checknoexec).st_mode |
|
185 | m = os.stat(checknoexec).st_mode | |
186 | if m & EXECFLAGS == 0: |
|
186 | if m & EXECFLAGS == 0: | |
187 | # check-exec is exec and check-no-exec is not exec |
|
187 | # check-exec is exec and check-no-exec is not exec |
General Comments 0
You need to be logged in to leave comments.
Login now