Domanda

I use s3cmd to upload files to Amazon s3. It is a super application. The only problem is I still need to log into the web interface and change the permissions of the file to "Authorized Users" and grant Read on it.

Is there a way I can change the permissions via a terminal and have it be Authorized Users?

Any ideas?

È stato utile?

Soluzione

You should use Bucket Policy. Set Bucket Policy on that bucket which set Public Read permission on the object. So what every you upload from s3cmd it will set read permission on that object automatically.

I am a developer of Bucket Explorer (Amazon S3 Tool). If s3cmd does not have option to set S3 Bucket Policy then you can try Bucket Explore. and This tool also have feature of Bucket Default, using this feature you can set desire permission automatically on newly uploaded s3. files.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top