world writable containers?

asked 2011-08-30 00:18:29 -0600

ksdsc gravatar image

Is it possible to have world writable containers? After reading http://swift.openstack.org/misc.html#module-swift.common.middleware.acl (http://swift.openstack.org/misc.html#...) I was able to create world readable containers using .r:*, but that syntax is not allowed for writable containers and * doesn't seem to work either. Here's an example of the command I'm using:

curl -k -v -X PUT -H 'X-Auth-Token: AUTH_xx' -H 'X-Container-Write: *' https://storage_url/public-container

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-08-30 02:59:46 -0600

ksdsc gravatar image

Thanks gholt, that solved my question.

edit flag offensive delete link more
0

answered 2011-08-30 00:53:44 -0600

gholt gravatar image

The only way currently to make world writable containers is to remove auth completely (which makes world writable everything) or roll-your-own auth. Alternatively, you could also patch up an existing auth you'd like to use (Keystone and Swauth are the two alternatives right now).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-30 00:18:29 -0600

Seen: 70 times

Last updated: Aug 30 '11