-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When mounted via fstab it always mounts read only. #483
Comments
Further to this, we were building Goofys from the latest master and not using release 0.23.1. The issue occurs in the latest master only - not on version 0.23.1 taken as a released binary. Looks like this could be a potential regression at the moment with the work being done. |
I have the same issue. Latest binary works, latest master does not work with fstab. |
could you try to see if reverting dfb5c81 fixes the problem? |
I am able to reproduce this wtih 1971d6d the issue seems to come from the underlining fuse library. if I switch the submodule to cb66eea2377fb365bbeb3055585db6e9ea3e8226 the issue goes away |
when user mount via fstab, we get '-o rw' implicitly, and under directmount this _enabled_ MS_RDONLY, which is the opposite of what we want refs kahing/goofys#483
when user mount via fstab, we get '-o rw' implicitly, and under directmount this _enabled_ MS_RDONLY, which is the opposite of what we want refs kahing/goofys#483
I am sure this was working previously, but after a rebuild of the machine (using scripts) I can no longer get the bucket to mount as a read write volume when using fstab. Any help appreciated!
Mounting Using Ubuntu 18.0.4 running on Amazon EC2 with a machine role that has permissions to access the S3 bucket.
/etc/fstab
goofys#ross-incoming-binaries /mnt/s3 fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777,--debug_s3,--debug_fuse 0 0
running mount -l
ross-incoming-binaries on /mnt/s3 type fuse (ro,relatime,user_id=0,group_id=0,default_permissions,allow_other)
Output from system log:
If I run goofys manually using the following it seems work correctly:
sudo goofys -f --debug_s3 --debug_fuse --file-mode=066dir-mode=0777 ross-incoming-binaries /mnt/s3
Output from
mount -l
ross-incoming-binaries on /mnt/s3 type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions)
The text was updated successfully, but these errors were encountered: