mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #709] s3fs-fuse-NFS problems #401
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#401
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 @DHB-liuhong on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/709
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
/onest/t01 10.139.6.0/24(rw,no_root_squash,fsid=2)
/onest/t02 10.139.6.0/24(rw,root_squash,fsid=3)
I find some problem.
1.
when I operate(cp,mkdir,touch) the directory t01 with root user, It is ok
But I operate(eg:vi ) the directory t01 with a general user,eg:onest
[onest@test03 t01]$ ls -al
drwxrwxrwx 1 root root 0 Jan 1 1970 .
drwxr-xr-x 10 root root 4096 Jan 29 14:22 ..
-rw-rw-r-- 1 onest onest 15 Jan 29 2018 lhobject2
---------- 1 onest onest 0 Aug 4 1974 .lhobject2.swp
You will find a swp file.
2
If I want to copy a file to t01 with onest user
[onest@test03 test]$ cp /home/onest/testfile t01
cp: cannot create regular file ‘t01/testfile’: Permission denied
Although you can see this file in the directory, but nothing in it ,its permissions is 000
[onest@test03 t01]$ ll
---------- 1 nfsnobody nfsnobody 0 Jul 19 2034 lhobject1
-rw-rw-r-- 1 onest onest 15 Jan 29 14:37 lhobject2
---------- 1 onest onest 0 Aug 17 1974 testfile
3
when I operate(cp,mkdir,touch) the directory t02 with root user or a general user,I will have the same question as above
@DHB-liuhong commented on GitHub (Jan 29, 2018):
@rrizun could you help me take a look? thanks:-)
@DHB-liuhong commented on GitHub (Jan 30, 2018):
i have solved it
@henres commented on GitHub (Feb 13, 2019):
Hello @DHB-liuhong Can you describe your final nfs configuration ? And how you solved it ?
Thanks
@zulaysalas commented on GitHub (Jul 6, 2023):
Hi @DHB-liuhong, can you please describe the nfs setup and how you solved it. I am using s3fs-fuse on Ubuntu 22 to mount an object storage bucket and am having problems with the commands (cp, mkdir, touch, rsync, mv).
Thanks!