| Compatibility : | 3.2.0 |
| Editions : |    |
| Platforms : |          |
Sets the permission used when creating files.
The "umask" is used to DISABLE certain permission bits for files.
Values can be entered in decimal or hexadecimal or octal formats.
The default value is "0022", which is an octal number.
Values beginning with '0x' will be treated as hexadecimal (base 16).
The leading '0' causes the number to be parsed as octal (base 8)
otherwise it is treated as a decimal (base 10) number,
Target:
In octal format the umask is defined as a 4 digit number (0/rwx/rwx/rwx) starting with a "0" (zero).
- The first, left-most except the initial "0",
- digit specifies the blocked permissions for the owner user creating the file.
- The second digit specifies the blocked permissions for other users who are members of the file's group.
- The third, right-most, digit specifies the blocked permissions for any other users.
Access Restriction:
Each digit is specified by adding up the following values:
- 4: to restrict read access (r),
- 2: to restrict write access (w),
- 1: to restrict executable access (x).
Example:
A value of "7" (=4+2+1) blocks the access of read(4), write(2) and execute(1).
For example, "000" gives widely openly permission to everyone.
"077" gives full-access permission to only owner user.
The default umask of "0022" will thus restrict
all users except the creator from writing or modifying files.
To prevent other users from being able to execute or even see the files,
the restriction "077" is required; therefore, the umask value of "0077" should be used.
| Example: |
wrapper.umask=0022
|

|