mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #189] allow_other Not Working #107
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#107
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 @bubba-h57 on GitHub (May 13, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/189
I began attempting to use
s3fsyesterday, and have since then spent the majority of my time attempting to sort out permissions.I followed the instructions at Installation Notes for building from the github repository (I checked out the v1.77 tag) on Ubuntu 14.04.
However, regardless of how I mount my bucket, I can not get access for anyone other than root, or a user specified via
uid=. When specifyinggid=along with the ever presetallow_otherI can see the group is properly set, however, members of the group can not access anything, only theuid.There appears to be very minimal documentation on the
allow_otheroption and googling brings me a handful of stackoverflow questions that marginally speak to the issue. I can only assume that this typically just works, but I'm hopeful that someone might point me towards a solution.I've ensured
/etc/fuse.confis properly configured, I prefer mounting asrootfrom/etc/fstab, and I feel like I've exhausted every mount option available in my pursuit of configuring the mounted bucket for read access from others.Thanks in advance!
@bubba-h57 commented on GitHub (May 13, 2015):
It is perhaps noteworthy that I'm using
s3fsto mount a bucket that has a few thousand objects already present, and that new object in this bucket will be inserted via another process. Thes3fsis effectively a read-only mount for this use case.This perhaps means that some headers are missing from my objects? If so, which ones, and how can I set them programatically when I create the new objects (which, as noted earlier, will be a different process)?
@bubba-h57 commented on GitHub (May 13, 2015):
I've since discovered that adding
umask=0002to the mount options solves my access issues. I'll close this now. However, I suggest that it is worth adding something to documentation with regards to how one handles permissions on buckets that have been pre-populated. Thanks again.@thomasintveld commented on GitHub (Jun 15, 2015):
Thank you, had the same problem as bubba-h57 and adding
-o umask=0002fixed the problem. After adding your user to thefusegroup and allowing fuse touser_allow_otherin/etc/fuse.confthe s3fs string then becomes:s3fs -o allow_other -o umask=0002 [bucket-name] [mount-folder]Problem solved!