インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド
Portability Function: Changes the access mode of a file.
result = CHMOD (name,mode)
The following regular expression represents a symbolic mode:
[ugoa]*[+-=] [rwxXst]*
On Windows* systems, "[ugoa]*" is ignored. On Linux* and OS X* systems, a combination of the letters "ugoa" control which users' access to the file will be changed:
u |
The user who owns the file |
g |
Other users in the group that owns the file |
o |
Other users not in the group that owns the file |
a |
All users |
"[+ - =]" indicates the operation to carry out:
"[rwxXst]*" indicates the permission to add, subtract, or set. On Windows systems, only "w" is significant and affects write permission; all other letters are ignored. On Linux and OS X systems, all letters are significant.