(path)
| 278 | func(path, *args) |
| 279 | |
| 280 | def _resetperms(path): |
| 281 | try: |
| 282 | chflags = _os.chflags |
| 283 | except AttributeError: |
| 284 | pass |
| 285 | else: |
| 286 | _dont_follow_symlinks(chflags, path, 0) |
| 287 | _dont_follow_symlinks(_os.chmod, path, 0o700) |
| 288 | |
| 289 | |
| 290 | # User visible interfaces. |
no test coverage detected