This function allows you to create/modify the File Permissions Object.
More InfoThis function prints the objects data given its File Permissions Object ID.
More InfoThis function allows you to delete the object given its File Permissions Object ID.
More InfoParameter 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 |