Hi ceph-users,

I am trying S3-compatible API of ceph, but meet following issues:

1. x-amz-acl: public-read-write

I upload an object with public-read-write acl. Then I can get this object
directly without access key.

curl -v -s http://<radosgw_server>/mybucket0/20131015_1
...
< HTTP/1.1 200
...

But I can't write or delete this object without access key.
curl -v -s http://ceph7.dev.mobstor.corp.bf1.yahoo.com/mybucket0/20131015_1-XPUT
-d "1234" or
curl -v -s 
http://ceph7.dev.mobstor.corp.bf1.yahoo.com/mybucket0/20131015_1-XDELETE
...
< HTTP/1.1 403
...
<?xml version="1.0"
encoding="UTF-8"?><Error><Code>AccessDenied</Code></Error>


2. x-amz-acl: authenticated-read

I have created two radowgw users. I upload an object
with authenticated-read acl using access key of one radowgw user. Then I
can get this object using this user's access key, but I can't get this
object using the other user's access key.

I am not sure if I use this authenticated-read acl correctly, please
correct me if I am wrong.

Thanks.

-- 
Regards,
Zhi
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to