Question

How to change all my space files permissions

Posted February 1, 2019 1.2k views
Ubuntu DigitalOcean API Big Data

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

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.

1 answer

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.

Submit an Answer