Function __global->scan_permissions
Definitions
sources/file_permissions_check.php
- Scan permissions. Software-specific wrapper for the CMSPermissionsScanner* classes.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$live_output | boolean | False | N/A | N/A | Whether to produce live output of issues |
$live_commands | boolean | False | N/A | N/A | Whether to run commands live |
$web_username | ?string | Null | N/A | N/A | Username or User ID (null: try and auto-detect, failing that assume suEXEC-style) |
$has_ftp_loopback_for_write | ?boolean | Null | N/A | N/A | Whether the system has the potential to 'get' write access on non-suEXEC-style servers by (for example) looping through FTP (null: default / auto-detect if possible) |
$minimum_level | integer | 3 | N/A | N/A | Minimum RESULT_TYPE_* level |
Return
- A tuple: Messages to show, Commands to run, Paths with issues, Whether any issues were found
- Type: array
- Set: N/A
- Range: N/A