← Back to team overview

openstack team mailing list archive

Re: Swift ACL can't work in RHEL6.1

 

Hi Li,

Swift middleware shipped with keystone doesn't support ACL, you may want to try this middleware  instead :

https://github.com/cloudbuilders/swift-keystone2

Chmouel.

On 3 Nov 2011, at 05:45, Li Hua wrote:

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




Chmouel Boudjnah
Cloud Product Engineer  [experience Fanatical Support]

Tel:    +442087344212
Fax:    +44 20 8606 6111
Web:    www.rackspace.co.uk<www.rackspace.co.ukhttp://www.rackspace.co.uk>
        [Rackspace]

[Follow us on twitter]<http://www.twitter.com/rackspaceemea/>






_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

JPEG image

JPEG image

JPEG image

JPEG image

JPEG image


Follow ups

References