Ende.chmodSync

function ยท requires --allow-write

function Ende.chmodSync(path: string | URL, mode: number): void

Synchronously changes the permission of a specific file/directory of specified path. Ignores the process's umask.

Ende.chmodSync("/path/to/file", 0o666);

For a full description, see Ende.chmod.

Requires allow-write permission.