With this function, you can create/manage restore file permission.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
_id | String | Required on action modify The ID of the file permissions. |
59f1db26f7ec181ba44138df | |
action | String | Required The action you want to perform. |
|
|
regex | String | Required on action create The pattern of the file/folder that you want the permissions apply to. |
^public_html$ | |
owner | String | The restored file ownership. | ||
group | String | The restored file group. | nobody | |
permissions | String | Required on action create The restored file permissions. |
0750 |