By Alex Neacsu
Hi there.
I’m using Spaces for pictures storage for my website. I’ve uploaded 7 mil pictures.
How can I setup permissions for all at once to public so I can access them for my website? I see that there is no option on cloud Spaces page. Can i do it with FileZilla?
Thanks in advance for your urgent help!
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!
Hi there Alex.
I’ve asked my developer to follow your instructions and we get this error:
Georgiana@WinSrv-1 MINGW64 /c/s3cmd
$ python s3cmd setacl s3://europiesa/webp -acl-public -recursive -verbose
s3cmd:308: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response["status"] is 200:
s3cmd:310: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif response["status"] is 204:
Usage: s3cmd [options] COMMAND [parameters]
s3cmd: error: no such option: -a
Can you please help me more?
Thanks in advance!
Regards, The other Alex
Looks like you need to enter double dashes as is linux’s practice when using full word parameters e.g. --acl-publc --recursive --verbose.
You can safely ignore the syntaxwarnings.
Hello, @alexneacsu
A quick solution to this should be use the build-in File Permissions function in FileZilla. You need to enter the desired directory and then select all files (Ctrl +A) and then right click and select the File Permissions option. A new window will open where you can set the file attributes and set the desired file permissions.
You can also check this page from our official docs:
https://www.digitalocean.com/docs/spaces/how-to/file-permissions/
Also you can install and configure s3cmd and run the following command:
s3cmd setacl s3://spaces/directory/path/ –acl-public –recursive –verbose
This can also be scripted in order to make each uploaded file PUBLIC by default.
Let me know how it goes.
Regards Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.