Show More
@@ -262,8 +262,12 b' class vfs(abstractvfs):' | |||
|
262 | 262 | def _cansymlink(self): |
|
263 | 263 | return util.checklink(self.base) |
|
264 | 264 | |
|
265 | @util.propertycache | |
|
266 | def _chmod(self): | |
|
267 | return util.checkexec(self.base) | |
|
268 | ||
|
265 | 269 | def _fixfilemode(self, name): |
|
266 | if self.createmode is None: | |
|
270 | if self.createmode is None or not self._chmod: | |
|
267 | 271 | return |
|
268 | 272 | os.chmod(name, self.createmode & 0666) |
|
269 | 273 |
General Comments 0
You need to be logged in to leave comments.
Login now