Like chmod(), except if the path points to a symlink, the symlink's permissions are changed, rather than its target's.
(self, mode)
| 1225 | os.chmod(self, mode, follow_symlinks=follow_symlinks) |
| 1226 | |
| 1227 | def lchmod(self, mode): |
| 1228 | """ |
| 1229 | Like chmod(), except if the path points to a symlink, the symlink's |
| 1230 | permissions are changed, rather than its target's. |
| 1231 | """ |
| 1232 | self.chmod(mode, follow_symlinks=False) |
| 1233 | |
| 1234 | def unlink(self, missing_ok=False): |
| 1235 | """ |