This project is read-only.


[CDMI proxy] There is not support for changing permissions of a blob


Continues from issue #113.
The second point is: how can I upload an application zip as a blob with public access?

This is my attempt:

upload using a non-CDMI content type

curl -v -u Admin:secret --digest -X PUT \
--upload-file f.txt \

change permissions

curl -v -u Admin:secret --digest -X PUT \
--header 'Content-Type: application/cdmi-object' \
--header 'X-CDMI-Specification-Version: 1.0.1' \
--data '{"metadata" : { "cdmi_acl" : { "Anonymous" : "r", "Admin" : "rwd" }}}' \

And the server returns:
Unsupported request: <PUT /container23/f.txt?metadata HTTP/1.1>

The other possibility is to upload a binary object with CDMI metadata at the same time, but I don't know how to do it. The documentation could be extended in this regard ( I would be happy with the curl command or else the complete HTTP request.
Closed Jul 10, 2012 at 10:59 AM by ilja
Outdated, closing.


ilja wrote Apr 8, 2012 at 6:49 PM

Currently query parameters are not supported, i.e. ?... syntax cannot be used. Please, use the request, but with

If the object is already created, its metadata will be updated.