Pike v8.1 release 6

Method System.chmod()


Method chmod

void chmod(string path, int mode)

Description

Sets the protection mode of the specified path.

Note

Throws errors on failure.

See also

Stdio.File->open(), errno()