Mchmod
Bun

method

fs.promises.FileHandle.chmod

mode: Mode
): Promise<void>;

Modifies the permissions on the file. See chmod(2).

@param mode

the file mode bit mask.

@returns

Fulfills with undefined upon success.