chmod - change mode of a file
integer*4 function chmod (name, mode) character*(*) name, mode
Change the file system mode of file name. You can set mode to be any specification recognized by chmod(1).
The argument name must be a single path name.
The normal returned value is 0. Any other value is a system error number.
executed to change the mode
Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>.