I’ve been uploading objects to a public container using the Swift API. When I try to view an uploaded object (image) by visiting the URL, I will get “AccessDenied” because the object itself is still “private”. The only way I can change this is by manually toggling the image to “public” from the dreamhost cpanel.
So my question is, how can I make an object public when I upload it with the Swift API?
I know AWS has object-level ACL controls but I don’t think Swift has this, so its very frustrating that objects are uploaded with private permissions by default.