Problem with uploading files as User (works if Admin is uploading)

Asked by Rostik Slipetskyy

On swift when I try to upload a file as an admin, I succeed. However, when I do the same procedure as a user, I receive "ClientException: Object HEAD failed. 403 Forbidden" Any suggestions why this problem occurs?

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

Normal users only have access to containers admins give them explicit access to. You can grant access with x-container-read and x-container-write. See second to last paragraph of the first section at http://swift.openstack.org/overview_auth.html Using st as an account admin, you can do something like st post -r account:user -w account:user container to give read and write access to a container.

Revision history for this message
Rostik Slipetskyy (rostik-2000) said :
#2

Thanks gholt, that solved my question.