(path)
| 274 | func(path, *args) |
| 275 | |
| 276 | def _resetperms(path): |
| 277 | try: |
| 278 | chflags = _os.chflags |
| 279 | except AttributeError: |
| 280 | pass |
| 281 | else: |
| 282 | _dont_follow_symlinks(chflags, path, 0) |
| 283 | _dont_follow_symlinks(_os.chmod, path, 0o700) |
| 284 | |
| 285 | |
| 286 | # User visible interfaces. |
no test coverage detected
searching dependent graphs…