[GH-ISSUE #879] Permissions #511

Closed
opened 2026-03-04 01:46:14 +03:00 by kerem · 4 comments
Owner

Originally created by @SimplySynced on GitHub (Dec 27, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/879

I've gone through the few things people have posted. I've been able to mount the s3 bucket and I can see the files in there on my ubuntu server. However I'm trying to use a media server emby and it can see the mount but then I'm guessing its an issue were the permissions are not correct.

drwx------ 1 root root 0 Dec 31 1969 s3
drwxr-xr-x 2 root root 0 Dec 5 10:24 tv

the TV works just fine. I tried

root@BlackWidow:/mnt# chmod 755 s3
chmod: changing permissions of 's3': Input/output error

I have the right access and secret key. I've mounted the directory using

s3fs streamtest /mnt/s3 -o passwd_file=${HOME}/.passwd-s3fs -o url=http://s3.wasabisys.com/ -o use_path_request_style

Is there anyway to get it to have the other permissions as I believe this is why I can not get emby to recognize it.

Originally created by @SimplySynced on GitHub (Dec 27, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/879 I've gone through the few things people have posted. I've been able to mount the s3 bucket and I can see the files in there on my ubuntu server. However I'm trying to use a media server emby and it can see the mount but then I'm guessing its an issue were the permissions are not correct. drwx------ 1 root root 0 Dec 31 1969 s3 drwxr-xr-x 2 root root 0 Dec 5 10:24 tv the TV works just fine. I tried root@BlackWidow:/mnt# chmod 755 s3 chmod: changing permissions of 's3': Input/output error I have the right access and secret key. I've mounted the directory using s3fs streamtest /mnt/s3 -o passwd_file=${HOME}/.passwd-s3fs -o url=http://s3.wasabisys.com/ -o use_path_request_style Is there anyway to get it to have the other permissions as I believe this is why I can not get emby to recognize it.
kerem closed this issue 2026-03-04 01:46:14 +03:00
Author
Owner

@postsal commented on GitHub (Jan 23, 2019):

I also have the same issue,When I uploaded the file, I found that I can't modify it.

<!-- gh-comment-id:456646949 --> @postsal commented on GitHub (Jan 23, 2019): I also have the same issue,When I uploaded the file, I found that I can't modify it.
Author
Owner

@gaul commented on GitHub (Feb 2, 2019):

When an object lacks permission s3fs assumes it has the most restrictive permissions, 000. Could you try mounting with -o umask=027 provides a default permission? Or try compiling from master which should also work around this symptom.

<!-- gh-comment-id:459929259 --> @gaul commented on GitHub (Feb 2, 2019): When an object lacks permission s3fs assumes it has the most restrictive permissions, `000`. Could you try mounting with `-o umask=027` provides a default permission? Or try compiling from master which should also work around this symptom.
Author
Owner

@postsal commented on GitHub (Feb 2, 2019):

thanks,according to your suggestion, i fixed it,Here is my commond :
s3fs <your-s3-bucket-name> <your-mount-point> -o url=<your-s3-endpoint>,allow_other,uid=id -u,umask=0000,mp_umask=0000.

<!-- gh-comment-id:459939006 --> @postsal commented on GitHub (Feb 2, 2019): thanks,according to your suggestion, i fixed it,Here is my commond : `s3fs <your-s3-bucket-name> <your-mount-point> -o url=<your-s3-endpoint>,allow_other,uid=`id -u`,umask=0000,mp_umask=0000`.
Author
Owner

@gaul commented on GitHub (Apr 9, 2019):

Could you test with the latest 1.85 and reopen this issue if symptoms persist?

<!-- gh-comment-id:481180151 --> @gaul commented on GitHub (Apr 9, 2019): Could you test with the latest 1.85 and reopen this issue if symptoms persist?
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#511
No description provided.