[GH-ISSUE #2693] Unable to create a directory: Failed to open/read local data from file/application #1279

Open
opened 2026-03-04 01:52:45 +03:00 by kerem · 3 comments
Owner

Originally created by @robinsujob on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2693

Additional Information

Version of s3fs being used (s3fs --version)

V1.95

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

macfuse-4.10.2

Provider (AWS, OVH, Hetzner, iDrive E2, ...)

AWS China (BJS/ZHY)

Kernel information (uname -r)

Mac OS 15.5
(uname -a: Darwin 24.5.0 Darwin Kernel Version 24.5.0:; root:xnu-11417.121.6~2/RELEASE_ARM64_T8103 arm64)

GNU/Linux Distribution, if applicable (cat /etc/os-release)

How to run s3fs, if applicable

[x] command line
[] /etc/fstab

s3fs xxx /Users/xx/xxx-s3 -o profile=china -o url=https://s3.cn-north-1.amazonaws.com.cn -o endpoint=cn-north-1 -o ensure_diskfree=4096 -o use_cache=/tmp/s3fs/cache -o tmpdir=/tmp/s3fs/tmp -o logfile=/tmp/s3fs/s3fs.log -o parallel_count=10 -o use_path_request_style

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

2025-07-02T18:23:13.336Z [INF]   s3fs.cpp:create_directory_object(1166): [path=/test][mode=40755][atime=1751480593.336061000][mtime=1751480593.336061000][ctime=1751480593.336061000][uid=505][gid=20]
2025-07-02T18:23:13.337Z [INF]       curl.cpp:PutRequest(3537): [tpath=/test/]
2025-07-02T18:23:13.338Z [INF]       curl.cpp:PutRequest(3562): create zero byte file object.
2025-07-02T18:23:13.339Z [INF]       curl_util.cpp:prepare_url(211): URL is https://s3.cn-north-1.amazonaws.com.cn/robin-mac/test/
2025-07-02T18:23:13.340Z [INF]       curl_util.cpp:prepare_url(244): URL changed is https://s3.cn-north-1.amazonaws.com.cn/robin-mac/test/
2025-07-02T18:23:13.341Z [INF]       curl.cpp:PutRequest(3663): uploading... [path=/test/][fd=-1][size=0]
2025-07-02T18:23:13.342Z [INF]       curl.cpp:insertV4Headers(2975): computing signature [PUT] [/test/] [] []
2025-07-02T18:23:13.346Z [INF]       curl_util.cpp:url_to_host(266): url is https://s3.cn-north-1.amazonaws.com.cn
2025-07-02T18:23:13.424Z [ERR] curl.cpp:RequestPerform(2785): ###curlCode: 26  msg: Failed to open/read local data from file/application
2025-07-02T18:23:13.426Z [INF]       cache.cpp:DelStatHasLock(560): delete stat cache entry[path=/test]
2025-07-02T18:23:13.447Z [INF] s3fs.cpp:s3fs_access(4275): [path=/][mask=X_OK ][pid=40502,uid=505,gid=20]
2025-07-02T18:23:13.450Z [INF] s3fs.cpp:s3fs_access(4275): [path=/][mask=F_OK][pid=40502,uid=505,gid=20]

Details about issue

Can't create folder on MacOS

Originally created by @robinsujob on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2693 <!-- -------------------------------------------------------------------------- The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) V1.95 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> macfuse-4.10.2 #### Provider (`AWS`, `OVH`, `Hetzner`, `iDrive E2`, ...) <!-- example: AWS --> AWS China (BJS/ZHY) #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> Mac OS 15.5 (uname -a: Darwin 24.5.0 Darwin Kernel Version 24.5.0:; root:xnu-11417.121.6~2/RELEASE_ARM64_T8103 arm64) #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [x] command line [] /etc/fstab <!-- Executed command line or /etc/fastab entry --> ``` s3fs xxx /Users/xx/xxx-s3 -o profile=china -o url=https://s3.cn-north-1.amazonaws.com.cn -o endpoint=cn-north-1 -o ensure_diskfree=4096 -o use_cache=/tmp/s3fs/cache -o tmpdir=/tmp/s3fs/tmp -o logfile=/tmp/s3fs/s3fs.log -o parallel_count=10 -o use_path_request_style ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` 2025-07-02T18:23:13.336Z [INF] s3fs.cpp:create_directory_object(1166): [path=/test][mode=40755][atime=1751480593.336061000][mtime=1751480593.336061000][ctime=1751480593.336061000][uid=505][gid=20] 2025-07-02T18:23:13.337Z [INF] curl.cpp:PutRequest(3537): [tpath=/test/] 2025-07-02T18:23:13.338Z [INF] curl.cpp:PutRequest(3562): create zero byte file object. 2025-07-02T18:23:13.339Z [INF] curl_util.cpp:prepare_url(211): URL is https://s3.cn-north-1.amazonaws.com.cn/robin-mac/test/ 2025-07-02T18:23:13.340Z [INF] curl_util.cpp:prepare_url(244): URL changed is https://s3.cn-north-1.amazonaws.com.cn/robin-mac/test/ 2025-07-02T18:23:13.341Z [INF] curl.cpp:PutRequest(3663): uploading... [path=/test/][fd=-1][size=0] 2025-07-02T18:23:13.342Z [INF] curl.cpp:insertV4Headers(2975): computing signature [PUT] [/test/] [] [] 2025-07-02T18:23:13.346Z [INF] curl_util.cpp:url_to_host(266): url is https://s3.cn-north-1.amazonaws.com.cn 2025-07-02T18:23:13.424Z [ERR] curl.cpp:RequestPerform(2785): ###curlCode: 26 msg: Failed to open/read local data from file/application 2025-07-02T18:23:13.426Z [INF] cache.cpp:DelStatHasLock(560): delete stat cache entry[path=/test] 2025-07-02T18:23:13.447Z [INF] s3fs.cpp:s3fs_access(4275): [path=/][mask=X_OK ][pid=40502,uid=505,gid=20] 2025-07-02T18:23:13.450Z [INF] s3fs.cpp:s3fs_access(4275): [path=/][mask=F_OK][pid=40502,uid=505,gid=20] ``` ### Details about issue <!-- Please describe the content of the issue in detail. --> Can't create folder on MacOS
Author
Owner

@robinsujob commented on GitHub (Jul 3, 2025):

Solve: upgrade curl from 8.7.1 -> 8.14.1, downgrade s3fs-mac from 1.95->1.92

<!-- gh-comment-id:3032583623 --> @robinsujob commented on GitHub (Jul 3, 2025): Solve: upgrade curl from 8.7.1 -> 8.14.1, downgrade s3fs-mac from 1.95->1.92
Author
Owner

@gaul commented on GitHub (Jul 4, 2025):

Downgrading isn't a real solution. Can you run with s3fs -f -d -o curldbg?

<!-- gh-comment-id:3034717270 --> @gaul commented on GitHub (Jul 4, 2025): Downgrading isn't a real solution. Can you run with `s3fs -f -d -o curldbg`?
Author
Owner

@robinsujob commented on GitHub (Jul 7, 2025):

Interesting, it got stuck. @gaul

Image
<!-- gh-comment-id:3043402767 --> @robinsujob commented on GitHub (Jul 7, 2025): Interesting, it got stuck. @gaul <img width="2549" height="830" alt="Image" src="https://github.com/user-attachments/assets/a1387c62-d7d6-4be6-938d-6361214ddd59" />
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#1279
No description provided.