Hi, I am trying to use the api to change the acl of a dataset but I am not able to.
The error I am getting is apparently a formatting error in the parameters.
The error is: "Expecting ':' delimiter
My command is:
Try changing the stripacl to true or false in case it had something to do with it but it didn't work.
The version I am using is TrueNAS-12.0-U4
Does anyone know what is the correct syntax to define an owner acl with Full control as I tried to do?
Thank you!
The error I am getting is apparently a formatting error in the parameters.
The error is: "Expecting ':' delimiter
My command is:
Code:
curl -X POST "https://xxxx/api/v2.0/pool/dataset/id/DATASET_NAME/permission" -H "accept: */*" -H "Authorization: Bearer XXX" -k -d '{"group": "GROUP_NAME", "acl":[{"owner@:rwxpDdaARWcCos:fd-----:allow"}],"options": {"stripacl": true,"recursive": true,"traverse": true}}'
Try changing the stripacl to true or false in case it had something to do with it but it didn't work.
The version I am using is TrueNAS-12.0-U4
Does anyone know what is the correct syntax to define an owner acl with Full control as I tried to do?
Thank you!