Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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()