FilesystemFunction: chmod()On this pageFunction: chmod() chmod(path, mode): Promise<void> Change permissions of a file. See chmod(2) Parameters path string Path to the file. mode number The file mode consisting of permission, suid, sgid, and sticky bits. Returns Promise<void>