mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #2032] umask and mp_umask are mutually exclusive in that using umask causes mp_umask to be overridden #1022
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#1022
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 @michaelsmoody on GitHub (Sep 16, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2032
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)
s3fs 1.91
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
FUSE 2.9.2
Kernel information (uname -r)
5.10.135-122.509.amzn2.x86_64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
Amazon Linux 2
s3fs command line used, if applicable
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
Despite this line in the logs, despite this setting, it appears that
umaskandmp_umaskare mutually exclusive, and that when both are set, my mountpoint gets set to the setting ofumaskNO MATTER WHAT, which prevents what I need to work from actually working.drwxrwx---. 1 root root 0 Jan 1 1970 /mnt/folderThis is an unfortunate consequence (combined of course with the sticky bit problem, and several other blocking issues as well) that prevents production usage of S3FS at this time.
I've attempted a combination of removing and adding options for this and other reasons, such as the reason this is being worked on in the first place, CHROOT (
suid,dev,uid/gid, etc), and whileuid/gidare properly obeyed, they do have another unfortunate consequence that I'll bring up elsewhere.Any help of course that you can provide would be greatly appreciated!
@ggtakec commented on GitHub (Sep 24, 2022):
I believe this issue will be resolved once #1964 is merged.
With the above PR, you will be able to set permissions for mount points.
I believe that mp_umask will be deprecated accordingly.
Please wait until it is merged.
@michaelsmoody commented on GitHub (Oct 23, 2022):
@ggtakec I've seen #1964 merged, however would you mind confirming that mp_umask is indeed being deprecated and that I should now chaos/chown the mountpount directly? Do you happen do know when a release might be made with this commit/merge? (No push, just curious what the release cycle looks like)
@ggtakec commented on GitHub (Feb 12, 2023):
We'd like to release it sooner, but we don't have a firm date yet. (#2102)
This issue will be closed, but please reopen it if you still have problems.