Sets the umask 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. Defaults to 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,
In octal format the umask is defined as a 3 digit number starting with
a 0. The first, left-most, digit specifies the blocked permissions for
the 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 user.
Each digit is specified by adding up the following values: 4 to restrict
read access, 2 to restrict write access, 1 to restrict executable access.
A value of 7 thus restricts read, write and execute access.
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 a value of 0077
should be used.
Example: |
wrapper.umask=0022
|
|