Summary:
Changes the user and/or group ownership of a specified file.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
Process elements recursively. |
|
|
Owner name ( |
|
|
|
|
Operates as |
|
|
|
|
Returns:
OK/Error
Description:
New owner/group information is supplied as a set of
user
or uid
and/or group
or gid
within the owner
structure.
The
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>