Fautore Install Setting - Perms
Parameter: | perms |
Type: | list |
default: | None |
Notes: | None |
The "perms" parameter defines the permissions that are to be set for files once installed. the parameter value is setup us a list of files references associated with octal "chmod" permission settings. File name references can be expressed using command line wildcards. The "perms" parameter should be defined in OS the section when OS specific wildcards are being used.
General Syntax
This configuration file parameter has a unique syntax defining the list to the installation program. The list itself is enclosed in square brackets
"," with each of the file reference/permission pairs being separated by a delimiter (defaulted to a comma ","). Preceding the leftmost square bracket is a value in parens "()" which defines the delimter to be used between the file reference/permission pairs. A parenthesized semicolon "(;)" would indicate that the adjacent list of bracketed file reference/permission pairs would be delimited a semicolon. This makes what characters can be used in the list more dynamic. It is not recommended that command line wildcard characters be used as a delimiter.
The parenthesis are optional with the delimiter defaulting to a comma ",". The sqare brackets must always be provided, even if the "perms" parameter is defined with a single value.
Permission Pairs
The full colon ":" is used as a delimiter between the file reference and the permission definition. This delimiter is statically defined and cannot be altered without changing the installation program code. Obviously, defining the full colon as a list delimiter would be unwise.
Examples
The below examples illustrate both how to use the "perms" parameter syntax and different ways to set permissions using RegEx.