<ftp-chmod>
Execute a chmod command as an ftp pass-through (necessary on UNITREE, for instance, where ssh connectivity is missing). Uses jglobus
Gridftp library.
Takes either a single file URI, or a directory URI; in the latter case, if recursive is true, the entire directory is recursively chmod'd; else only the top level is.
Purpose/Function
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
delay |
|
30000 |
pause in milliseconds between retries |
dir |
|
|
directory to chmod (endpoint must support Gridftp) |
proxyFile |
|
|
path to the user's proxy (if not set, uses the default mechanisms for finding the proxy) |
permissions |
|
(required) |
chmod argument (three-digit string: [0:7][0:7][0:7]) |
recursive |
|
false |
= |
retry |
|
2 |
number of times to retry the command |
file |
|
|
file to chmod (endpoint must support Gridftp) |
Elements
None.
ReturnValues
None.
Examples
<ogrescript> ... <ftp-chmod recursive="true" permissions="755" dir="${MSS.uri}/${FcstID}/WRF"/> ... </ogrescript>