world writable containers?

Asked by Kate Kaya

Is it possible to have world writable containers? After reading http://swift.openstack.org/misc.html#module-swift.common.middleware.acl 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

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
gholt
Solved:
Last query:
Last reply:
Revision history for this message
Best gholt (gholt) said :
#1

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).

Revision history for this message
Kate Kaya (ksdsc) said :
#2

Thanks gholt, that solved my question.