Change file permissions
files_chmodSet octal file permissions (e.g., 644, 755) for one or multiple files under a root directory on a Pterodactyl panel server.
Instructions
Set the mode (e.g. 644, 755) of a file under a root directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Single file. Or use files. | |
| mode | No | Octal mode as a string, e.g. 755, for file. | |
| root | No | ||
| files | No | Several files at once, names relative to root. | |
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| server | Yes | ||
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |