chmod_items
Modify permissions for multiple files or directories using POSIX-style octal modes. Specify the mode and paths to update access rights efficiently on the filesystem.
Instructions
Change permissions mode for multiple specified files/directories (POSIX-style).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mode | Yes | The permission mode as an octal string (e.g., '755', '644'). | |
paths | Yes | An array of relative paths. |
Input Schema (JSON Schema)
{
"properties": {
"mode": {
"description": "The permission mode as an octal string (e.g., '755', '644').",
"type": "string"
},
"paths": {
"description": "An array of relative paths.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"paths",
"mode"
],
"type": "object"
}