[Openstack] Swift objects permissions

Hua ZZ Zhang zhuadl at cn.ibm.com
Mon Jul 1 09:54:44 UTC 2013


currently Swift R/W ACL is for container level. make sure that you set ACL
on the container "test".
if you also want to authorize listing that container, add ACL like "
.r:*,.rlistings".

see detailed doc here:
http://docs.openstack.org/developer/swift/misc.html#id5

-Edward Zhang



                                                                           
             CHABANI Mohamed                                               
             El Hadi                                                       
             <chabani.mohamed.                                          To 
             hadi at gmail.com>           "openstack at lists.launchpad.net"     
             Sent by:                  <openstack at lists.launchpad.net>,    
             "Openstack"                                                cc 
             <openstack-bounce                                             
             s                                                     Subject 
             +zhuadl=cn.ibm.co         [Openstack] Swift objects           
             m at lists.launchpad         permissions                         
             .net>                                                         
                                                                           
                                                                           
             2013-07-01 下午                                               
             05:39                                                         
                                                                           




Hi people,

I'm trying to show a picture in my browser from a swift cluser (SAIO), when
i do 'http://myadressip:8080/v1/AUTH_test/test/myfiles/test.jpeg' i get

"This server could not verify that you are authorized to access the
document you requested."

I set also the Read ACL  = ".r:*"

Should i add additional configurations or permissions ?

Thank's_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130701/901b4768/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130701/901b4768/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic27919.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130701/901b4768/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130701/901b4768/attachment-0002.gif>


More information about the Openstack mailing list