functionfs.promises.chmodfunction chmod(path: PathLike,mode: Mode): Promise<void>;Changes the permissions of a file.@returnsFulfills with undefined upon success.Referenced typestype PathLike = string | Buffer | URLValid types for path values in "fs".type Mode = number | string