mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2081] use_path_request_style always results in Input/output error #1055
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#1055
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 @nick-youngblut on GitHub (Dec 22, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2081
Additional Information
Version of s3fs being used (
s3fs --version)V1.86 (newest on Ubuntu 20.04)
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.9-3
Kernel information (
uname -r)5.4.0-1094-azure
GNU/Linux Distribution, if applicable (
cat /etc/os-release)How to run s3fs, if applicable
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)No logging info
Details about issue
All of the buckets for my organization include dots in the name, so I use
-o use_path_request_style.However, that results in the
Input/output error.If I create a new bucket lacking any dots in the name and mount without
-o use_path_request_style,the command successfully executes, but nothing is actually mounted.
I'm using the GitHub codespaces with the following devcontainer config:
My AWS credentials work, given that
aws s3 ls my.bucketworks with the same credentials.@nick-youngblut commented on GitHub (Dec 22, 2022):
The same error occurs if a use a "blank" github codespace (no
devcontainer.json) running Ubuntu 20.04.5@nick-youngblut commented on GitHub (Dec 22, 2022):
Also, https://github.com/s3fs-fuse/s3fs-fuse#examples states:
...however, that results in the following error:
My credentials:
@ggtakec commented on GitHub (Jan 7, 2023):
@nick-youngblut
It seems that the
${HOME}/.aws/credentialsfile is not found.This
${HOME}in documents means the home directory of the user who executed the s3fs process(the home directory in the passwd file, etc.).Note that it's not the
HOMEenvironment variable.Please check the s3fs execution user and path.
Thanks in advance for your assistance.
@nick-youngblut commented on GitHub (Jan 9, 2023):
Thanks @ggtakec for the explanation. I've since been able to fix the issue. Moreover, I'm now using fig to handle all of my secrets, so no need for
.aws/credentials.It would be great to see an "best practices" example of using s3fs in a GitHub codespace, but I maybe that is a bit too hard to document clearly?
@ggtakec commented on GitHub (Jan 15, 2023):
@nick-youngblut Thanks for confirming.
I would also like to provide s3fs "best practices" for using the GitHub codespace, but I'm not familiar enough with "GitHub codespace" yet.
I wish someone could compile such information.