[GH-ISSUE #2414] permission denied whatever ownership is set while mounting #1191

Closed
opened 2026-03-04 01:52:04 +03:00 by kerem · 2 comments
Owner

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=33
the 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 e2s3
but access premission is always denied.

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=33` the 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 e2s3` but access premission is always denied.
kerem closed this issue 2026-03-04 01:52:04 +03:00
Author
Owner

@adamqqqplay commented on GitHub (Feb 18, 2024):

Maybe you can try -o allow_other or -o umask=0000 to solve your problem.

<!-- gh-comment-id:1950974738 --> @adamqqqplay commented on GitHub (Feb 18, 2024): Maybe you can try `-o allow_other` or `-o umask=0000` to solve your problem.
Author
Owner

@stupidloud commented on GitHub (Feb 19, 2024):

Maybe you can try -o allow_other or -o umask=0000 to solve your problem.

It works. Thank you.

<!-- gh-comment-id:1951583044 --> @stupidloud commented on GitHub (Feb 19, 2024): > Maybe you can try `-o allow_other` or `-o umask=0000` to solve your problem. It works. Thank you.
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#1191
No description provided.