[GH-ISSUE #1942] Mounting Folder Using Instance Role #979

Closed
opened 2026-03-04 01:50:24 +03:00 by kerem · 2 comments
Owner

Originally created by @qscacheri on GitHub (May 4, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1942

Is possible to use s3fs using an instance role for access without having to give the role access to the root of the bucket? I'd like to mount a folder without having to give the role access to anything else in the bucket. Is this possible?

Thanks!

Originally created by @qscacheri on GitHub (May 4, 2022). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1942 Is possible to use s3fs using an instance role for access without having to give the role access to the root of the bucket? I'd like to mount a folder without having to give the role access to anything else in the bucket. Is this possible? Thanks!
kerem closed this issue 2026-03-04 01:50:24 +03:00
Author
Owner

@shmuelzon commented on GitHub (Sep 28, 2022):

Hey, I'd like to know as well. The user has access only to one directory in a bucket, but not the root directory. s3cmd works when specifying the directory but it seems s3fs is trying to log-in to the root of the bucket.

@qscacheri, where you able to get this working? I tried tricking it with the servicepath option to add the specific directory to the URL s3fs uses but that didn't seem to work.

Thanks in advance!

<!-- gh-comment-id:1261190055 --> @shmuelzon commented on GitHub (Sep 28, 2022): Hey, I'd like to know as well. The user has access only to one directory in a bucket, but not the root directory. `s3cmd` works when specifying the directory but it seems s3fs is trying to log-in to the root of the bucket. @qscacheri, where you able to get this working? I tried tricking it with the `servicepath` option to add the specific directory to the URL `s3fs` uses but that didn't seem to work. Thanks in advance!
Author
Owner

@ggtakec commented on GitHub (Feb 12, 2023):

@qscacheri @shmuelzon Sorry for my late reply.
I believe this is fixed due to #2087.
If you can, please try it(master branch).
This issue will be closed, but please reopen it if you still have problems.

<!-- gh-comment-id:1426956735 --> @ggtakec commented on GitHub (Feb 12, 2023): @qscacheri @shmuelzon Sorry for my late reply. I believe this is fixed due to #2087. If you can, please try it(master branch). This issue will be closed, but please reopen it if you still have problems.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#979
No description provided.