In UNIX, you can set permissions on files and directories for owner, group, and other. Values for the MODE attribute correspond to octal values for the UNIX chmod command:
- 4 = Read only
- 2 = Read/write
- 1 = Read/write/execute
You enter permissions values in the MODE attribute for each type of user: owner, group, other in that order. For example to assign read permissions for all:
MODE=444
To give a file or directory owner read/write/execute permissions and read only permissions for everyone else:
MODE=744
|