This task allows to change the mode of the file (as in Unix CHMOD command)
according to the following
argument:
- the full path is get from the current file
- the arg path is transformed as usual (static and dynamic from information
transfer)
- this final path arg should be of the form [ua][+-=][rwx] where multiple
elements could be specified,
separated by blank character
- u/a meaning user(Waarp system user)/all (group and other do not exist in
Java), +/-/= meaning
add/remove/set (set means all other values are removed), r/w/x meaning
Read/Write/Execute
For instance, the final path arg could be:
- u=rwx a=r
- ua+rw
- u=rw a-wx
- a+rw
Current access mode for the application will be applied as default "user"
access mode, and no access mode
(-rwx) will be the default for "all" access mode.
If several access mode are set in sequence, the result will be the sum of the
results, step by step.
"a=r a+w a-r" will result in a=w (first step is r--, second step is rw-,
third step is -w-)