Like chmod(), except if the path points to a symlink, the symlink's permissions are changed, rather than its target's.
(self, mode)
| 1027 | os.chmod(self, mode, follow_symlinks=follow_symlinks) |
| 1028 | |
| 1029 | def lchmod(self, mode): |
| 1030 | """ |
| 1031 | Like chmod(), except if the path points to a symlink, the symlink's |
| 1032 | permissions are changed, rather than its target's. |
| 1033 | """ |
| 1034 | self.chmod(mode, follow_symlinks=False) |
| 1035 | |
| 1036 | def unlink(self, missing_ok=False): |
| 1037 | """ |