Function CMSPermissionsScannerWindows->generate_chmod_command
Definitions
sources/file_permissions_check.php
- Generate a chmod command from differential permissions.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$path | PATH | required parameter | N/A | N/A | The path the command is for |
$sid | string | required parameter | N/A | N/A | The user to apply to |
$perms_involved | array | required parameter | N/A | N/A | Permissions to set |
$operator | string | required parameter | N/A | N/A | Change operator |
$reset | boolean | False | N/A | N/A | Reset permissions for the SID |
Return
- Chmod command
- Type: string
- Set: N/A
- Range: N/A