s3cmd setacl to grant 'Authenticated Users'
- by rynop
I'm using jgit to create a remote in s3. Problem I'm having is when I do a jgit push s3 master it creates the files in s3 as owned by me.
I want to keep the files private, and be read/write by 'Authenticated users'.
I'd like to be able to either set acl: authenticated-read in the ~/.jgit file OR be able to modify the acl after the push: s3cmd --add-header=x-amz-acl:authenticated-read setacl --acl-private s3://my.bucket/repo/*
Neither of these work.
How do i use jgit and push to s3 and keep it private, and let anyone with auth read/write?