Sometimes and somewhere, we all have a situation where it’s a headache to handle all things using a GUI. For example, imagine you have thousands of files and have a task to modify space object permissions for all these files. Imagine you’ve to do this from the GUI by selecting them one by one file! Yes, it’s terrible.
To overcome this problem, we are here with a solution. Have you heard about the S3Express tool?
S3Express
A Windows command-line software tool is called S3Express. Create backups, queries, and easy uploads of files and folders to Amazon S3 storage based on various customizable parameters. Please make your batch scripts to list files or entire folders on Amazon S3, filter them using criteria, run queries, and modify object metadata and ACLs. Then, utilizing concurrent threads and multipart uploads, quickly upload new or changed files.
Digital Ocean spaces
Cloud hosting company DigitalOcean provides infrastructure as a service and cloud computing services (IaaS). Teams can deploy on DigitalOcean in seconds, and plans start at just $5 per month. It is well-known for its affordability and scalability. Anyone may rapidly get up and running in the cloud with this setup.
Steps to modify spaces object permissions
- Install the S3Express tool on your windows system
- After installing the tool on your Windows system, update your Digital ocean spaces bucket ACCESS_KEY_ID and SECRET_ACCESS_KEY. A single space will separate it.
- Example: saveauth youraccesskeyid secretaccesskey
- After updating the Auth details, it’s time to update your bucket endpoints and region related permissions.
- To update the endpoint, use the below command.
- setopt -endpoint:yourendpoint
- Ex: setopt -endpoint:nyc3.digitaloceanspaces.com
- To update the region, use the below command.
- setopt -region:yourregion
- Ex: setopt -region:us-west-2
- To update the endpoint, use the below command.
- Okay, now it’s done all about connecting your DIgital ocean spaces with your S3Express. Now let’s move towards updating the permissions of your bucket objects.
- Let’s assume that there is one bucket called “testbucket.”
- Now write the below command to change the dir of your cmd.
- cd testbucket
- If you want to list your objects, you can use the “ls” command.
- Now the final step is as easy as magic. Use the below command to modify space object permissions.
- setacl /* -s -cacl:public-read
- Here -s is for checking your folder recursively.
- -cacl is a flag that represents your permission to update.
If you want an SFTP client, then there is one more tool s3browser
For more information and updates Contact Us