[Openstack] Swift ACL can't work in RHEL6.1

Li Hua neakli at gmail.com
Thu Nov 3 04:45:29 UTC 2011


Hi Folks,

I set up a SAIO test environment in RHEL6.1 using
openstack-swift-1.4.3-b447.noarch
from
http://yum.griddynamics.net/yum/diablo-centos/ .

I want to test the container Read/Write access permission using the
following steps.

Creating a container with read access permission for anyone.

[root at node01 ~]# swift -A http://127.0.0.1:5000/v1.0 -U demo -K password
post -r '.r:*' testcontainer


Checking the stat of container:

[root at node01 ~]# swift -A http://127.0.0.1:5000/v1.0 -U demo -K password
stat testcontainer  Account: AUTH_2
Container: testcontainer
  Objects: 0
    Bytes: 0
 Read ACL:
Write ACL:
  Sync To:
 Sync Key:
Accept-Ranges: bytes
X-Trans-Id: tx1c0e9c6220ea433a90713c160a88b33f


It seems that  testcontainer still has no Read ACL.   Any comments ?
 thanks.


Regards,
Li Hua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111103/203a9e14/attachment.html>


More information about the Openstack mailing list