#venkat

1 messages · Page 1 of 1 (latest)

thick mulch
#

One of our customer is facing issue the following.

Using this Python resource : https://library.netapp.com/ecmdocs/ECMLP2885777/html/resources/file_info.html#docs-storage-storage_volumes_{volume.uuid}_files_{path}
Customer is able to create new directories and files without issues.

However, two very important attributes: owner_id and group_id, do not appear to be settable.
The error states Field "group_id" cannot be set in this operation:400
(I have already set config.STRICT_ACCESS_MODIFIERS = False)

#

Here are their Questions:
• What do we need to do to make these attributes settable in the file creation API call? Given that the unix permissions are settable, I’m not sure why the owner_id and group_id are not. Is this a Ontap version issue? (We are using 9.13.1 for the SDK)
• Is there an ONTAP CLI command that exists to create a file while setting the owner_id and group_id in the process?
• Any other workaround that we can utilize either the API or the CLI to achieve this?