views:

29

answers:

1

Hey all,

I'm trying to use s3cmd on ubuntu 10.04 to sync with a local folder. This is working great for getting the contents from the local drive out to S3. However, I want the file ACL to be "public", yet all the files are coming through without it.

In my .s3cfg file, I set:

acl_public = True

I've tried:

s3cmd sync -P --delete-removed "$TARGETFOLDER" "s3://$BUCKET/"

I've also tried:

s3cmd sync --acl-public --delete-removed "$TARGETFOLDER" "s3://$BUCKET/"

And, for kicks, also tried this:

s3cmd sync -P --acl-public --delete-removed "$TARGETFOLDER" "s3://$BUCKET/"

Any ideas?

Update

I have set the ACL on the target bucket as Read/Write/Full-Control for authenticated users and administrator, and read-only for Everyone.

A: 

Problem solved. Turns out the files were accessible all along and being set as "public-read", but S3 Organizer in Firefox was not reflecting this through the ACL permissions popup window.

KG