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