Ask Your Question
0

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

asked 2011-04-24 01:01:39 -0500

rostik-2000 gravatar image

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?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-05-06 18:38:24 -0500

rostik-2000 gravatar image

Thanks gholt, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-24 08:05:24 -0500

gholt gravatar image

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 (http://swift.openstack.org/overview_a...) 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-24 01:01:39 -0500

Seen: 12 times

Last updated: May 06 '11