0

I have 15,000 files in S3 and they have wrong ACL permissions. The owner of the objects is an external AWS account. I'm looking for a way to change this as quickly as possible. I ran antoligy/s3-recursive-acl: A tool for bulk-updating ACL in Amazon S3 but when I run it I get this:

s3-recursive-acl.go: command not found

When I use sudo:

sudo: ./s3-recursive-acl.go: command not found

when I do install go:

go install s3-recursive-acl.go
s3-recursive-acl.go:9:2: cannot find package "github.com/aws/aws-sdk-go/aws" in any of:
        /usr/local/go/src/github.com/aws/aws-sdk-go/aws (from $GOROOT)
        /home/souad/go/src/github.com/aws/aws-sdk-go/aws (from $GOPATH)
s3-recursive-acl.go:10:2: cannot find package "github.com/aws/aws-sdk-go/aws/session" in any of:
        /usr/local/go/src/github.com/aws/aws-sdk-go/aws/session (from $GOROOT)
        /home/souad/go/src/github.com/aws/aws-sdk-go/aws/session (from $GOPATH)
s3-recursive-acl.go:11:2: cannot find package "github.com/aws/aws-sdk-go/service/s3" in any of:
        /usr/local/go/src/github.com/aws/aws-sdk-go/service/s3 (from $GOROOT)
        /home/souad/go/src/github.com/aws/aws-sdk-go/service/s3 (from $GOPATH)

Please any ideas because I've pretty much tried everything.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Souad
  • 4,856
  • 15
  • 80
  • 140

0 Answers0