Like chmod(), except if the path points to a symlink, the symlink's permissions are changed, rather than its target's.
(self, mode)
| 1132 | os.chmod(self, mode, follow_symlinks=follow_symlinks) |
| 1133 | |
| 1134 | def lchmod(self, mode): |
| 1135 | """ |
| 1136 | Like chmod(), except if the path points to a symlink, the symlink's |
| 1137 | permissions are changed, rather than its target's. |
| 1138 | """ |
| 1139 | self.chmod(mode, follow_symlinks=False) |
| 1140 | |
| 1141 | def unlink(self, missing_ok=False): |
| 1142 | """ |