[GH-ISSUE #189] allow_other Not Working #107

Closed
opened 2026-03-04 01:42:11 +03:00 by kerem · 3 comments
Owner

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 s3fs yesterday, 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 specifying gid= along with the ever preset allow_other I can see the group is properly set, however, members of the group can not access anything, only the uid.

There appears to be very minimal documentation on the allow_other option 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.conf is properly configured, I prefer mounting as root from /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!

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 `s3fs` yesterday, and have since then spent the majority of my time attempting to sort out permissions. I followed the instructions at [Installation Notes](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes#tested-on-ubuntu-1404-lts) 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 specifying `gid=` along with the ever preset `allow_other` I can see the group is properly set, however, members of the group can not access anything, only the `uid`. There appears to be very minimal documentation on the `allow_other` option 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.conf` is properly configured, I prefer mounting as `root` from `/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!
kerem closed this issue 2026-03-04 01:42:11 +03:00
Author
Owner

@bubba-h57 commented on GitHub (May 13, 2015):

It is perhaps noteworthy that I'm using s3fs to mount a bucket that has a few thousand objects already present, and that new object in this bucket will be inserted via another process. The s3fs is 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)?

<!-- gh-comment-id:101711731 --> @bubba-h57 commented on GitHub (May 13, 2015): It is perhaps noteworthy that I'm using `s3fs` to mount a bucket that has a few thousand objects already present, and that new object in this bucket will be inserted via another process. The `s3fs` is 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)?
Author
Owner

@bubba-h57 commented on GitHub (May 13, 2015):

I've since discovered that adding umask=0002 to 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.

<!-- gh-comment-id:101713824 --> @bubba-h57 commented on GitHub (May 13, 2015): I've since discovered that adding `umask=0002` to 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.
Author
Owner

@thomasintveld commented on GitHub (Jun 15, 2015):

Thank you, had the same problem as bubba-h57 and adding -o umask=0002 fixed the problem. After adding your user to the fuse group and allowing fuse to user_allow_other in /etc/fuse.conf the s3fs string then becomes:
s3fs -o allow_other -o umask=0002 [bucket-name] [mount-folder]

Problem solved!

<!-- gh-comment-id:112089764 --> @thomasintveld commented on GitHub (Jun 15, 2015): Thank you, had the same problem as bubba-h57 and adding `-o umask=0002` fixed the problem. After adding your user to the `fuse` group and allowing fuse to `user_allow_other` in `/etc/fuse.conf` the s3fs string then becomes: `s3fs -o allow_other -o umask=0002 [bucket-name] [mount-folder]` Problem solved!
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#107
No description provided.