Function CMSPermissionsScannerWindows->process_directory
Definitions
sources/file_permissions_check.php
- Enumerate a directory for permission checks (actual processing is in process_node).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$path | PATH | required parameter | N/A | N/A | The absolute path |
$rel_path | PATH | Blank (empty string) | N/A | N/A | The relative path to the base directory |
$attr | ?string | Null | N/A | N/A | A string of extended attributes from lsattr (null: look up individually, which is slower) |
$top_level | boolean | True | N/A | N/A | Whether this is the top level of the recursion; don't set this manually |
$paths | array | [] | N/A | N/A | Paths with issues (inverse list), returned by reference |
$found_any_issue | boolean | False | N/A | N/A | Whether any issues were found, returned by reference |
Return
- A tuple: Messages to show, Commands to run
- Type: array
- Set: N/A
- Range: N/A