The Computer Oracle

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

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 Auto-Set Permissions When Uploading To Amazon S3 With Transmit 4
00:31 Accepted Answer Score 10
00:43 Answer 2 Score 5
01:08 Thank you

--

Full question
https://superuser.com/questions/233158/a...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#amazons3 #filepermissions

#avk47



ACCEPTED ANSWER

Score 10


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




ANSWER 2

Score 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