Auto-set permissions when uploading to Amazon S3 with Transmit 4

9

3

Does anyone know how to auto-set the read permissions for "World" upon upload of a file to Amazon S3 with Transmit? It is currently a two step process in my workflow:

  1. upload the file
  2. change permissions to allow the file to be read

I'd really to prefer to eliminate step 2 and just upload the file and have permissions set. Is there a way to create a profile that does this step for me?

ToddSmithSalter

Posted 2011-01-13T20:53:43.767

Reputation: 253

Question was closed 2011-01-16T15:16:59.470

Answers

10

Go into the Preferences > Rules menu, and that can be set there. Not a AWS thing.

MT

Posted 2011-01-13T20:53:43.767

Reputation:

6I checked "Default File" and then chose Read: World in the S3 tab. – louielouie – 2012-10-31T04:31:47.227

@LouieLouie has the answer. – Andrew – 2012-11-01T13:44:31.580

5

Yes, you may use Bucket Policies to configure bucket in a way that all existing and new files will be publicly available.

Here is the bucket policy you need to apply:

{
  "Version": "2008-10-17",
  "Statement": [
    {
      "Sid": "AllowPublicRead",
      "Effect": "Allow",
      "Principal": {
        "AWS": "*"
      },
      "Action": [
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::/*"
      ]
    }
  ]
}

You may use S3 Browser Freeware to apply Bucket Policy: http://s3browser.com/working-with-amazon-s3-bucket-policies.php

S3 Browser Team

Posted 2011-01-13T20:53:43.767

Reputation: 186