filesystem.setperm ================== Set unix permissions on given `path`. If `mode` is specified then the mode will be applied to the path and files and subdirectories depending on which `options` are selected. Mode should be formatted as string representation of octal permissions bits. `uid` the desired UID of the file user. If set to None (the default), then user is not changed. `gid` the desired GID of the file group. If set to None (the default), then group is not changed. `user` and `group` alternatively allow specifying the owner by name. WARNING: `uid`, `gid, `user`, and `group` _should_ remain unset _unless_ the administrator wishes to change the owner or group of files. `stripacl` setperm will fail if an extended ACL is present on `path`, unless `stripacl` is set to True. `recursive` remove ACLs recursively, but do not traverse dataset boundaries. `traverse` remove ACLs from child datasets. If no `mode` is set, and `stripacl` is True, then non-trivial ACLs will be converted to trivial ACLs. An ACL is trivial if it can be expressed as a file mode without losing any access rules. This method is a job. .. raw:: html
FilesystemSetpermArgs parameters.
No Additional PropertiesFilesystem path to modify.
Must be at least 1 characters long
Numeric user ID to set as owner. null to leave unchanged.
Value must be greater or equal to -1 and lesser or equal to 2147483647
Username to set as owner. null to leave unchanged.
Must be at least 1 characters long
Numeric group ID to set as group owner. null to leave unchanged.
Value must be greater or equal to -1 and lesser or equal to 2147483647
Group name to set as group owner. null to leave unchanged.
Must be at least 1 characters long
Unix permissions to set (octal format). null to leave unchanged.
Additional options for the permission change operation.
No Additional PropertiesWhether to apply the operation recursively to subdirectories.
If set do not limit to single dataset / filesystem.
Whether to remove existing Access Control Lists when setting permissions.
Returns null when the permission change is successfully completed.