code: def lchmod(self, mode):
          
          if self._closed:
              self._raise_closed()
          self._accessor.lchmod(self, mode)
docs: Like chmod(), except if the path points to a symlink, the symlink's
          permissions are changed, rather than its target's.