Nfchmod
Bun

namespace

fs.fchmod

function fchmod(
fd: number,
mode: Mode,
callback: NoParamCallback
): void;

Sets the permissions on the file. No arguments other than a possible exception are given to the completion callback.

See the POSIX fchmod(2) documentation for more detail.

namespace fchmod