mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1030] chown mounted volume: input/output error. #565
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#565
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 @rogerprata on GitHub (May 11, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1030
Additional Information
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.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD
Version of s3fs being used (s3fs --version)
1.85
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.7-1ubuntu1
Kernel information (uname -r)
4.15.0-1037-aws
GNU/Linux Distribution, if applicable (cat /etc/os-release)
Ubuntu 18.04.02 LTS
s3fs command line used, if applicable
s3fs mybucket /usr/local/backups -o passwd_file=~/.passwd-s3fs -ouid=111,gid=116,allow_other,mp_umask=002
@sqlbot commented on GitHub (May 11, 2019):
I suspect that your only option may be to use a directory one level in, instead of the mount point/root of the bucket. The mount point is a special case, because the permissions and file mode emulation that s3fs does (using
x-amz-meta-*object metadata) isn't possible at the mount point/root of the bucket because there is no object in S3 that represents that point.I have often thought that support for a "magic key" such as
.s3fs_bucket_rootstored in the root of the bucket might be a useful enhancement -- such a feature could allow s3fs to support chmod/chown of the mount point. That object's metadata could be used to store the mount point permissions. I don't know if that is an original idea of mine or if I've seen it suggested elsewhere, but as far as I know, there is no current support for this.@rogerprata commented on GitHub (May 11, 2019):
So let me make sure I understand - the mount should be mybucket/subfolder? I'll try that later.
@sqlbot commented on GitHub (May 12, 2019):
No, I'm suggesting your install script will need to be used against a directory inside the bucket rather than at the bucket root/mount point.
@rogerprata commented on GitHub (May 12, 2019):
Got it. I’ll try that.
--
Roger Prata, Managing Director & CTO
Roger Prata Technology Advisors
rp@rogerprata.com
Office: (401) 400-5256 x60
Web | Client Portal | Documentation
The entire content of this email message is confidential. This also applies to any files attached to it. This email is intended for an individual or entity to whom they are addressed. In case you are not the addressee of this email, and you have received it in error, immediately contact the system manager. The information in this email is very sensitive, and it is intended for the specific addressee. This email should not be disseminated, distributed or copied. If you have received this email and it was not for you, make sure to immediately notify the sender by email and afterwards delete this email from your system. Disclosing, copying, distributing, or taking any action in reliance to the email content is strictly prohibited
From: Michael Ezzell
Sent: Saturday, May 11, 2019 10:09 PM
To: s3fs-fuse/s3fs-fuse
Cc: rogerprata; Author
Subject: Re: [s3fs-fuse/s3fs-fuse] chown mounted volume: input/output error.(#1030)
No, I'm suggesting your install script will need to be used against a directory inside the bucket rather than at the bucket root/mount point.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
@divyenduz commented on GitHub (Sep 28, 2019):
I can confirm that using
chmodinside the bucket works, I needed this for a process to be able to access this path. I will have to change the user of that process for now I guess 🤷♂️ 👍@gaul commented on GitHub (Feb 3, 2020):
I don't think we can do anything about chown of the mountpoint.