mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2138] Chown results input/output error #1087
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#1087
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 @hasnainhakim on GitHub (Mar 24, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2138
Hi All I have mounted a bucket to ubuntu 20.04 and I mount the my s3 bucket using the below command
s3fs BucketName pathtobucketfolder -o passwd_file=$HOME/.passwd-s3fs,nonempty,rw,allow_other,mp_umask=002,uid=1000,gid=1000 -o url=http://s3.us-east-1.amazonaws.com,endpoint=us-east-1,use_path_request_style
Now I am trying to change the permission on that folder but getting input error
chown: changing ownership of '/home/test-user/bucket/': Input/output error,.
@ggtakec commented on GitHub (Mar 26, 2023):
@hasnainhakim
Please try specifying the logging options when starting s3fs.
For example, you can add
dbglevel=info(andcurldbg).You may want to start s3fs in the foreground with
-fas well.Those logs will help to solve this problem.
Thanks in advance for your assistance.
@hasnainhakim commented on GitHub (Mar 26, 2023):
Thankyou for your reply do I need to mount again ?
@hasnainhakim commented on GitHub (Mar 30, 2023):
@ggtakec Hi I have manage to somehow worked it but , I have mounted s3 with different user using uid option but everytime I reboot the server, permission is change for the mounted folder to root . I have added these lines to change the permision to the other user in fstab file.
bucketname pathtomount fuse.s3fs _netdev,allow_other,uid=1001,gid=1001 0 0
thanks in advance
@ggtakec commented on GitHub (Apr 8, 2023):
@hasnainhakim Thank you for your report.
If you are using code from the
masterbranch, you may have been affected by the bug.I posted a PR #2147 for fixing a bug which I detect about this Issue.
(If you can, please retry new code after merging that PR.)
I will close this issue, but if you still have a problem, please reopen this issue.