[GH-ISSUE #1018] Problem on mounting s3 #556

Closed
opened 2026-03-04 01:46:43 +03:00 by kerem · 5 comments
Owner

Originally created by @lays147 on GitHub (Apr 19, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1018

Version of s3fs being used (s3fs --version)

➜ ~ s3fs --version
Amazon Simple Storage Service File System V1.82(commit:unknown) with GnuTLS(gcrypt)

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

Version: 2.9.7-1ubuntu1

Kernel information (uname -r)

4.15.0-47-generic

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

NAME="KDE neon"
VERSION="Testing Edition"
ID=neon
ID_LIKE="ubuntu debian"
PRETTY_NAME="KDE neon Testing Edition"
VARIANT="Testing Branches"
VERSION_ID="18.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
LOGO=start-here-kde-neon
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

s3fs command line used, if applicable

s3fs mybucket ~/s3 -o use_cache=/tmp -o passwd_file=${HOME}/.passwd-s3fs

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

Details about issue

I am trying to mount my s3 bucket locally, but with that command, my folders aren't available for R/W. If I use umask=0022, I can R/W, but folders that have subfolders, are handled like objects and not folders so I can't access anything.
https://imgur.com/a/NTGxFAE

So any tips on how to mount my bucket successfully?

Originally created by @lays147 on GitHub (Apr 19, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1018 #### Version of s3fs being used (s3fs --version) ➜ ~ s3fs --version Amazon Simple Storage Service File System V1.82(commit:unknown) with GnuTLS(gcrypt) #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) Version: 2.9.7-1ubuntu1 #### Kernel information (uname -r) 4.15.0-47-generic #### GNU/Linux Distribution, if applicable (cat /etc/os-release) NAME="KDE neon" VERSION="Testing Edition" ID=neon ID_LIKE="ubuntu debian" PRETTY_NAME="KDE neon Testing Edition" VARIANT="Testing Branches" VERSION_ID="18.04" HOME_URL="http://neon.kde.org/" SUPPORT_URL="http://neon.kde.org/" BUG_REPORT_URL="http://bugs.kde.org/" LOGO=start-here-kde-neon PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic #### s3fs command line used, if applicable ``` s3fs mybucket ~/s3 -o use_cache=/tmp -o passwd_file=${HOME}/.passwd-s3fs ``` #### 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_ ``` ``` ### Details about issue I am trying to mount my s3 bucket locally, but with that command, my folders aren't available for R/W. If I use umask=0022, I can R/W, but folders that have subfolders, are handled like objects and not folders so I can't access anything. https://imgur.com/a/NTGxFAE So any tips on how to mount my bucket successfully?
kerem closed this issue 2026-03-04 01:46:43 +03:00
Author
Owner

@lays147 commented on GitHub (Apr 19, 2019):

Debug info

abr 19 12:26:56 lays-Latitude-3490 s3fs[5672]: s3fs: MOUNTPOINT directory /home/lays/s3 is not empty. if you are sure this is safe, can use the 'nonempty' mount option.
abr 19 12:27:02 lays-Latitude-3490 s3fs[5694]: s3fs.cpp:s3fs_init(3378): init v1.82(commit:unknown) with GnuTLS(gcrypt)
abr 19 12:27:02 lays-Latitude-3490 s3fs[5694]: Libgcrypt warning: missing initialization - please fix the application

Libgcrypt version: libgcrypt20 is already the newest version (1.8.1-4ubuntu1.1).
That i got with the following command:

s3fs mybucket ~/s3 -o use_cache=/tmp -o umask=0022 -o passwd_file=${HOME}/.passwd-s3fs -o endpoint=eu-west-1
<!-- gh-comment-id:484931442 --> @lays147 commented on GitHub (Apr 19, 2019): ### Debug info ``` abr 19 12:26:56 lays-Latitude-3490 s3fs[5672]: s3fs: MOUNTPOINT directory /home/lays/s3 is not empty. if you are sure this is safe, can use the 'nonempty' mount option. abr 19 12:27:02 lays-Latitude-3490 s3fs[5694]: s3fs.cpp:s3fs_init(3378): init v1.82(commit:unknown) with GnuTLS(gcrypt) abr 19 12:27:02 lays-Latitude-3490 s3fs[5694]: Libgcrypt warning: missing initialization - please fix the application ``` Libgcrypt version: libgcrypt20 is already the newest version (1.8.1-4ubuntu1.1). That i got with the following command: ``` s3fs mybucket ~/s3 -o use_cache=/tmp -o umask=0022 -o passwd_file=${HOME}/.passwd-s3fs -o endpoint=eu-west-1 ```
Author
Owner

@gaul commented on GitHub (Apr 19, 2019):

Could you try with the latest 1.85? This fixes behavior related to folders not created by s3fs.

<!-- gh-comment-id:484948477 --> @gaul commented on GitHub (Apr 19, 2019): Could you try with the latest 1.85? This fixes behavior related to folders not created by s3fs.
Author
Owner

@gaul commented on GitHub (Jul 9, 2019):

I believe 1.85 fixes this issue. Please reopen if symptoms persist.

<!-- gh-comment-id:509779893 --> @gaul commented on GitHub (Jul 9, 2019): I believe 1.85 fixes this issue. Please reopen if symptoms persist.
Author
Owner

@anastazya commented on GitHub (Jul 28, 2021):

I have the same issue, and this is the version :

Amazon Simple Storage Service File System V1.86 (commit:unknown) with GnuTLS(gcrypt)
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

<!-- gh-comment-id:888224026 --> @anastazya commented on GitHub (Jul 28, 2021): I have the same issue, and this is the version : Amazon Simple Storage Service File System V1.86 (commit:unknown) with GnuTLS(gcrypt) Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Author
Owner

@gaul commented on GitHub (Jul 28, 2021):

Please try with the latest version 1.89. If this doesn't work, open a new issue with debug logs from s3fs -f -d.

<!-- gh-comment-id:888246561 --> @gaul commented on GitHub (Jul 28, 2021): Please try with the latest version 1.89. If this doesn't work, open a new issue with debug logs from `s3fs -f -d`.
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#556
No description provided.