Issue of S3 API: x-amz-acl: public-read-write and authenticated-read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux