manageFilePermissions
This function allows you to create/modify the File Permissions Object.
This function allows you to create/modify the File Permissions Object.
This function prints the objects data given its File Permissions Object ID.
This function lists all File Permissions Objects.
This function allows you to delete the object given its File Permissions Object ID.
Parameter name | Type | Description | Possible Values | Example | ||||||
---|---|---|---|---|---|---|---|---|---|---|
_id | String | The Parameters Filter Object ID. | _id: 5b28f9f4d5ac5e5ed5049f82 | |||||||
regex | String | The regex for the File/Folder name you want the rule to apply to. | 'regex: public_html' | |||||||
Category | String | The category this File Permissions rule will be used for. |
|
category: 1 | ||||||
owner | String | Name of the owner you will like to assign. | owner: root | |||||||
group | String | Name of the group you will like to assign. | group: nobody | |||||||
recursive | Boolean | Boolean value to determine if the permissions rule will apply to all files/folders under the specified regex. | recursive: 1 | |||||||
dirs_permissions | String | The permissions value you will like to give to directories. | dirs_permissions: 0755 | |||||||
files_permissions | String | The permissions value you will like to give to files. | files_permissions: 0644 |
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.