I'm using s3tools to sync files on a server and an s3 bucket. Specifically, I'm using the sync command. This, however, is not working correctly because I can't find the right permissions to assign to the user I've setup. Almost everything seems to be working but I constanlty get an error from the s3cmd sync command that "Remote Copy failed."
Here's my current policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "SomeSID",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::mybucket"
]
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::mybucket/some/path",
"arn:aws:s3:::mybucket/some/path/*"
]
}
]
}
Does anyone know what permissions I should add to make the remote copy possible?