code: def lchmod(self, path, mode):
          
          if self.filesystem.is_windows_fs:
              raise (NameError, "name 'lchmod' is not defined")
          self.filesystem.chmod(path, mode, follow_symlinks=False)
docs: Change the permissions of a file as encoded in integer mode.
          If the file is a link, the permissions of the link are changed.
  
          Args:
            path: (str) Path to the file.
            mode: (int) Permissions.