Issue 378 in s3fs: How to mount s3fs in read-only mode

1,996 views
Skip to first unread message

s3...@googlecode.com

unread,
Oct 17, 2013, 7:16:54 PM10/17/13
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 378 by jm.magnu...@gmail.com: How to mount s3fs in read-only mode
http://code.google.com/p/s3fs/issues/detail?id=378

I'm interested in mounting an s3fs volume on my dev server, in read-only
mode. Is it possible to enforce read-only somehow in the fstab?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

s3...@googlecode.com

unread,
Oct 28, 2013, 5:03:23 AM10/28/13
to s3fs-...@googlegroups.com

Comment #1 on issue 378 by ggta...@gmail.com: How to mount s3fs in
read-only mode
http://code.google.com/p/s3fs/issues/detail?id=378

Hi,

I think you can use umask option in entry of fstab or command line.

Regards,

s3...@googlecode.com

unread,
Oct 29, 2013, 2:33:15 PM10/29/13
to s3fs-...@googlegroups.com

Comment #2 on issue 378 by jm.magnu...@gmail.com: How to mount s3fs in
read-only mode
http://code.google.com/p/s3fs/issues/detail?id=378

I tried setting umask=0333 in fstab, which prevents me from writing new
files to the mounted directory, but it still allows files to be deleted
from the mounted directory... am I doing something wrong?

s3...@googlecode.com

unread,
Oct 29, 2013, 9:54:06 PM10/29/13
to s3fs-...@googlegroups.com

Comment #3 on issue 378 by ggta...@gmail.com: How to mount s3fs in
read-only mode
http://code.google.com/p/s3fs/issues/detail?id=378

Hi,

At first, you should use umask as 0222 instead of umask=0333.
But umask is not protected writing by root user.

I think you can set "-r"(or -ro) option in command line or fistab, then
under the mount point is read only.

Regards,

s3...@googlecode.com

unread,
Dec 23, 2013, 10:26:32 AM12/23/13
to s3fs-...@googlegroups.com
Updates:
Status: Done

Comment #4 on issue 378 by ggta...@gmail.com: How to mount s3fs in
This issue is left for a long term, and s3fs project moved on
Github(https://github.com/s3fs-fuse/s3fs-fuse).
So I closed this issue.

If you have a problem yet, please post new issue.
Reply all
Reply to author
Forward
0 new messages