mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #2414] permission denied whatever ownership is set while mounting #1191
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#1191
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 @stupidloud on GitHub (Feb 18, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2414
The OS is debian 11
PHP is installed from APT with the version 7.4, running as www-data
s3fs mount command under root is
s3fs gallery e2s3 -o passwd_file=${HOME}/.passwd-s3fs -o url=https://uvw.xyz.idrivee2-4.com/ -o use_path_request_style,gid=33,uid=33the number 33 is both gid and uid of www-data
I also have the mount point moved into a place where maked sure by php-fpm has access with its function is_readable()
everthing looks fine
drwx------ 1 www-data www-data 0 Jan 1 1970 e2s3but access premission is always denied.
@adamqqqplay commented on GitHub (Feb 18, 2024):
Maybe you can try
-o allow_otheror-o umask=0000to solve your problem.@stupidloud commented on GitHub (Feb 19, 2024):
It works. Thank you.