filesystem.setperm ================== Set Unix permissions on the given ``path``. If ``mode`` is specified then the mode is applied to the path, and to files and subdirectories depending on which ``options`` are selected. This method will fail if an extended ACL is present on ``path`` unless ``stripacl`` is set. If no ``mode`` is set and ``stripacl`` is ``true``, then non-trivial ACLs are converted to trivial ACLs. An ACL is trivial if it can be expressed as a file mode without losing any access rules. A recursive change may not target the mountpoint of a dataset consumed by an S3 bucket, nor traverse into one; apply it to the bucket's ``s3data`` directory instead. .. important:: ``uid``, ``gid``, ``user``, and ``group`` *should* remain unset *unless* the administrator wishes to change the owner or group of files. 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. filesystem.setperm fails if an extended ACL is present on the path unless this is set. When no mode is set and this is true, non-trivial ACLs are converted to trivial ACLs.
Returns null when the permission change is successfully completed.