Method Filesystem.Base()->chmod() Method chmod void chmod(string filename, int|string mode) Description Change mode of a file or directory.