How to change all my space files permissions

Hi. I uploaded 60G of images to my new space and i found out that all the files are with private permission. How can i change the permission to public to all my files in the space? I got around 7M images. Thanks, Liron

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

After a long search for an answer, this is what I’m doing:

I installed and configured s3cmd and am running the command:

s3cmd setacl s3://spaces/directory/path/ --acl-public --recursive --verbose

This is very slow because it happens one file at a time, but eventually it gets it done.

Similarly to above, you can do the same on Mac with Cyberduck. Just select the folder(s) and choose info, from there you can add permissions and set everyone to READ.

I ran into a similar issue today. You can actually use the free version of S3 Browser to do the same thing by selecting the directory and clicking a button to make all of the files public.