← Back to team overview

openstack team mailing list archive

Swift ACL can't work in RHEL6.1

 

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@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@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

Follow ups