chown_file
Change file or directory ownership by setting path, user, and group, with optional recursion for contents. Helps resolve permission errors and ownership mismatches on a 1Panel server.
Instructions
Change file owner
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"user": "<user>",
"group": "<group>"
},
"name": "chown_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub | No | ||
| path | Yes | ||
| user | Yes | ||
| group | Yes |