mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2339] Unable to set read/write only permissions for files created in bucket #1155
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#1155
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 @beeritis on GitHub (Oct 5, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2339
Additional Information
Version of s3fs being used (
s3fs --version)Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.9
Kernel information (
uname -r)GNU/Linux Distribution, if applicable (
cat /etc/os-release)RHEL9.2
How to run s3fs, if applicable
Running via /etc/fstab
s3fs# /mnt/ _netdev,defaults,allow_other,umask=007,uid=0,mp_umask=0007,gid=1000,use_path_request_style,passwd_file=/etc/s3fs,url=https://plos3.westernpower.co.uk/,noexec 0 0
Details about issue
We are able to mount our S3 buckets successfully which is fine. My query is that, no matter what umask is set, whenever a new file is created, it applies executables permissions which we do not want. We would like the permissions to be rw only as although we can limit permissions access to these files that are accessible through the mount , if the file is a bash script for example, we don't want people running them (at least not by default).
E.g.