proc chmod(path: (when HAVE_FCHMODAT: string | int else: string); mode: int; dir_fd = DEFAULT_DIR_FD; follow_symlinks = not MS_WINDOWS)
proc fchmod(fd: int; mode: int) {....raises: [PyOSError], tags: [], forbids: [].}