method FileHandle.chmod Usage in Denoimport { type FileHandle } from "node:fs/promises"; FileHandle.chmod(mode: Mode): Promise<void> Modifies the permissions on the file. See chmod(2). Parameters mode: Mode the file mode bit mask. Return Type Promise<void> Fulfills with undefined upon success.