Spaces default permissions

Hi, I am trying to use spaces as an active storage provider with ruby on rails.

Rails seems to expect the files to be public with no (obvious) way of setting the permission on upload.

I am trying to set the default permission for a spaces to public, but only find resources showing how to change permission after the upload. What I need is set the default to public.

Is it possible to do? Without it we can’t deploy to digital ocean :-/

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Turns out this does not help. When uploading files via a client without explicitely setting an ACL, they are still set to private.

Oops, correcting myself. The command should be:

s3cmd --access_key=xxx --secret_key=yyy --host=<region> --host-bucket=<bucket>.<region> --region=<region> setacl s3://<bucket> --acl-public

Hi there. The documentation says the API is S3-compatible ( So I just went and used the s3cmd tool like this:

s3cmd --access-key=xxx --secret-key=yyy --host=<region> --host-bucket=<bucket>.<region> --region=<region> s3://<bucket> --acl-public