2 Answers
- Newest
- Most votes
- Most comments
0
Good day.
Per your policy, it appears that you have an implicit deny (not permit) on the bucket to PutObjects. Because of this, the individual objects do not have anything to inherit for write actions.
You should be able to adjust this by adding each object as a resource along with the folder that you added: "Resource": "arn:aws:s3:::${transfer:HomeDirectory}/", "arn:aws:s3:::${transfer:HomeDirectory}/*",
Hope this helps!
Jason H.
answered 2 years ago
0
I think you just need to change the second policy to apply to all directory's objects like that
{
"Effect": "Allow",
"Action": [
"s3:PutObjectACL",
"s3:PutObject",
"s3:GetObjectVersion",
"s3:GetObjectACL",
"s3:GetObject",
"s3:DeleteObjectVersion",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::${transfer:HomeDirectory}/*"
},
answered 2 years ago
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 months ago
It seems content of your policy is broken because of formatting. Can you try to format it using Markdown syntax (wrap it into triple backticks)?