mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #452] IAM user with S3 policy for access into specific folder - won't work.... #245
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SysEngDan on GitHub (Jul 15, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/452
Example:
Bucket name: dans_test_bucket
Folders within bucket: /folder1/folder2/
IAM User: dans_test_user
Policy: allow dans_test_user access only into dans_test_bucket/folder1/folder2/*
Policy:
}
How do I configure the local mount and CLI to access files in dans_test_bucket/folder1/folder2/ ?
@bencodestx commented on GitHub (Jul 18, 2016):
s3:ListBucket on arn:aws:s3:::dans_test_bucket must also be granted to the user. This applies to the entire bucket so that the IAM user would be able to list ALL objects in the entire bucket (seeing the object names of ALL objects), but would only be able to access the objects with the folder1/folder2/ prefix.
@rodrigosrangel commented on GitHub (Oct 21, 2016):
I have the same problem reading files from a bucket, not owed by me.
The "owner" defined one folder for each of his clients (I'm one of them) and won't grant me the s3:ListBucket arguing that I can't identify all his other clients.
So I got stuck ,Created an account on AWS for testing this behavior and have no idea about how to solve it. Any ideas?
@anmolnagpal commented on GitHub (Jul 8, 2017):
Check This
https://www.cloudberrylab.com/blog/how-to-give-user-access-to-an-s3-folder-with-cloudberry-explorer/
@ggtakec commented on GitHub (Mar 30, 2019):
We kept this issue open for a long time.
I will close this, but if the problem persists, please reopen or post a new issue.