mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2034] can't open folder with S3Fs #1024
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#1024
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 @mbensaid23 on GitHub (Sep 19, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2034
Hello,
I installed S3fs and I mounted my bucket in a directory /ojs , but when I copy folders I can't access these folders I can't see it I don't have the rights to the folder
root@root ojs# ls -l
??????????? ? ? ? ? ? testOJS
can you help me plz
@ggtakec commented on GitHub (Sep 24, 2022):
Please share s3fs version, boot command line, or fstab line for s3fs.
After that, if you have a little more detailed information(what to do), it would be helpful.
Also, the
compat_diroption may be useful if you are copying with the S3 console or similar.@DarthGandalf commented on GitHub (Jan 29, 2023):
I have the same issue.
V1.91
Non-folder files show correctly. The folder created using
mkdiris visible in S3 AWS web console; folders created via that console are also visible this way - with question marks.@DarthGandalf commented on GitHub (Jan 29, 2023):
Can you clarify?
@DarthGandalf commented on GitHub (Jan 29, 2023):
If you mean
notsup_compat_dir, that changes the error, but doesn't work either:In AWS console it looks like a folder
@DarthGandalf commented on GitHub (Jan 29, 2023):
nvm, PEBKAC
My IAM policy was too restrictive
@ggtakec commented on GitHub (Jan 29, 2023):
@DarthGandalf Thank you for your comment.
I understood that the inability to create the directory was the effect of an
IAM policy.I'm going to close this issue.
And I apologize for the inaccurate description of the
compat_diroption I gave you.The correct explanation is:
Up to v1.91, the compatibility directory information is displayed by default.(Use
notsup_compat_diroption if you don't want it to be displayed)In the current master branch, it will not be displayed by default, so if you want to display it, you will have to specify
compat_dir.@DarthGandalf commented on GitHub (Jan 29, 2023):
Not exactly. The directory was created just fine. But immediately after creation, it couldn't be read, because there was no "s3:GetObject" permission, and this inability to read the newly created directory caused the issue described above.
I thought "s3:ListBucket" and "s3:PutObject" would be enough, since I was never going to read files using this user, but only write them.
That was actually @mbensaid23, not me. I just looked through open issues before creating a new one, therefore commented here. But since he never replied with any more details, I'm fine with you closing this issue :) Hopefully he fixed his issue too.
Any ETA when new release happens? I'm fine not displaying it, but I also would like to keep options passed explicitly to minimum.
@ggtakec commented on GitHub (Jan 29, 2023):
We plan to prepare the next release once the known bugs have been fixed.(It will take a little longer)
I think we should reduce the number of options that must be specified as much as possible. So I would like to continue to consider the default value of each option.