Update File Permissions


Change the permissions mode of a specified file or directory.

 Workflow inputs – Update File Permissions

Call Workflow Input

Description

Required?

Default Value

connection details

XML document conforming to the ConnectionDetails common object that contains the information required to execute a command.

Yes

n/a

file

The file to alter.

Yes

n/a

mode

The new permissions mode value.

 

Valid values (Linux/Solaris): numeric value, i.e. 777

 

Valid values (Windows): H, A, R, S

Yes

n/a

recursive

Operate on files and directories recursively?

 

Valid values: true, false

No

false

attrib value

Use an attrib value of – (minus)?

 

Valid values: true, false

No

false

(An attrib value of + (plus) will be used)

 

 Workflow outputs – Update File Permissions

Call Workflow Output

Description

output

XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command.

success

Did the operation succeed?

 

Valid values: true, false

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 21.3