method promises.FileHandle.chmod Usage in Denoimport { type promises } from "node:fs"; 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.