Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

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