[GH-ISSUE #2222] s3fs-fuse problems with nfs client #1131

Open
opened 2026-03-04 01:51:37 +03:00 by kerem · 0 comments
Owner

Originally created by @zulaysalas on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2222

Additional Information

Version of s3fs being used (s3fs --version)

V1.90

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

2.9.9-5ubuntu3

Kernel information (uname -r)

5.15.0-76-generic

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

PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

How to run s3fs, if applicable

[] command line
s3fs bucket /mnt/bucket -o passwd_file=/root/.passwd-s3fs -o url=https://eu-east-1.s3.storadera.com -o _netdev,noforget,dbglevel=debug,allow_other,umask=000,uid=65534,gid=65534,nonempty,use_path_request_style

[] /etc/fstab
bucket /mnt/bucket fuse.s3fs _netdev,allow_other,use_path_request_style,passwd_file=/root/.passwd-s3fs,url=https://eu-east-1.s3.storadera.co 0 0

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

4287][hit count=3]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:OpenExistFdEntity(628): [path=/file6][flags=0x0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:Open(526): [path=/file6][size=-1][time=-1][flags=0x0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:s3fs_getattr(801): [path=/file6] uid=0, gid=0, mode=100644
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: [path=/file9]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_parent_object_access(642): [path=/file9]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(534): [path=/]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(539): [pid=59003,uid=0,gid=0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:get_object_attribute(365): [path=/]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(534): [path=/file9]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(539): [pid=59003,uid=0,gid=0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:get_object_attribute(365): [path=/file9]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: cache.cpp:GetStat(294): stat cache hit [path=/file9][time=1296495.075980225][hit count=3]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:OpenExistFdEntity(628): [path=/file9][flags=0x0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:Open(526): [path=/file9][size=-1][time=-1][flags=0x0]
Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:s3fs_getattr(801): [path=/file9] uid=0, gid=0, mode=100644
Jul 18 20:57:04 s3fs-nfs systemd[1]: Starting Cleanup of Temporary Directories...
Jul 18 20:57:04 s3fs-nfs systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
Jul 18 20:57:04 s3fs-nfs systemd[1]: Finished Cleanup of Temporary Directories.

Details about issue

Hello,I use s3fs-fuse to mount object-storage bucket,and want to share the mounted directory for others by NFS,The configure file of NFS /etc/exports is /mnt/bucket *(rw,sync,fsid=0,no_root_squash,no_subtree_check), when i operate from the client mounted directory using (cp,mkdir,touch), i get the result: Permission denied

Could you help me take a look? thanks!

Originally created by @zulaysalas on GitHub (Jul 18, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2222 ### Additional Information #### Version of s3fs being used (`s3fs --version`) V1.90 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) 2.9.9-5ubuntu3 #### Kernel information (`uname -r`) 5.15.0-76-generic #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line s3fs bucket /mnt/bucket -o passwd_file=/root/.passwd-s3fs -o url=https://eu-east-1.s3.storadera.com -o _netdev,noforget,dbglevel=debug,allow_other,umask=000,uid=65534,gid=65534,nonempty,use_path_request_style [] /etc/fstab bucket /mnt/bucket fuse.s3fs _netdev,allow_other,use_path_request_style,passwd_file=/root/.passwd-s3fs,url=https://eu-east-1.s3.storadera.co 0 0 #### 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. --> 4287][hit count=3] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:OpenExistFdEntity(628): [path=/file6][flags=0x0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:Open(526): [path=/file6][size=-1][time=-1][flags=0x0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:s3fs_getattr(801): [path=/file6] uid=0, gid=0, mode=100644 Jul 18 20:48:10 s3fs-nfs s3fs[58821]: [path=/file9] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_parent_object_access(642): [path=/file9] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(534): [path=/] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(539): [pid=59003,uid=0,gid=0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:get_object_attribute(365): [path=/] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(534): [path=/file9] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:check_object_access(539): [pid=59003,uid=0,gid=0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:get_object_attribute(365): [path=/file9] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: cache.cpp:GetStat(294): stat cache hit [path=/file9][time=1296495.075980225][hit count=3] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:OpenExistFdEntity(628): [path=/file9][flags=0x0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: fdcache.cpp:Open(526): [path=/file9][size=-1][time=-1][flags=0x0] Jul 18 20:48:10 s3fs-nfs s3fs[58821]: s3fs.cpp:s3fs_getattr(801): [path=/file9] uid=0, gid=0, mode=100644 Jul 18 20:57:04 s3fs-nfs systemd[1]: Starting Cleanup of Temporary Directories... Jul 18 20:57:04 s3fs-nfs systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully. Jul 18 20:57:04 s3fs-nfs systemd[1]: Finished Cleanup of Temporary Directories. ### Details about issue <!-- Please describe the content of the issue in detail. --> Hello,I use s3fs-fuse to mount object-storage bucket,and want to share the mounted directory for others by NFS,The configure file of NFS /etc/exports is /mnt/bucket *(rw,sync,fsid=0,no_root_squash,no_subtree_check), when i operate from the client mounted directory using (cp,mkdir,touch), i get the result: Permission denied Could you help me take a look? thanks!
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#1131
No description provided.