Previous page

Next page

Locate page in Contents

Print this page

chown

Summary:

Changes the user and/or group ownership of a specified file.

Request specification:

Name

Min/Max

Type

Description

chown

 

navigateType

 

{

 

 

 

recursively

0..1

 

Process elements recursively.

owner

1..1

credType

Owner name (Linux as it exists in /etc/passwd).

follow_links

0..1

 

Operates as lchown.

}

 

 

 

Returns:

OK/Error

Description:

Linux New owner/group information is supplied as a set of user or uid and/or group or gid within the owner structure.

WindowsThe user element can be used to specify a user or a group.

Example:

Changing the owner of /test to apache/apache.

<packet version="4.0.0" id="324">

<dst>

<host>24b9acf5-8ca5-49c9-b7b1-4c93fe048389</host>

</dst>

<target>filer</target>

<data>

<filer>

<chown>

<path>dGVzdA==</path>

<cwd>Lw==</cwd>

<cred>

<user>apache</user>

<group>apache</group>

</cred>

</chown>

</filer>

</data>

</packet>

Please send us your feedback on this help page