Skip to content
This repository

Read only for everyone but root? #12

Closed
jdurkacs opened this Issue · 2 comments

2 participants

jdurkacs Dillon Amburgey
jdurkacs

This works great for me, but I can not get it to allow anyone but root to write to this location. I even tried mounting it inside the user's home directory, but as soon as it's mounted it reverts back to root:root with 755 permissions. Is there a way to mount it read-write for a non-root user? The mount command output claims it is mounted rw, but it won’t let other users cd to the directory or copy files there. I did create a fuse group, chgrp'd /dev/fuse to the fuse group (it was root:root) and made my normal user a member of the fuse group and remounted but it still doesn't allow them to cd to it or even view it properly with an ls.

For my non-root user, an ls -la of the folder I have mounted looks like this:
d????????? ? ? ? ? ? cloud

for root, it looks like this:
drwxr-xr-x 2 root root 0 Dec 31 1969 cloud

If I try to mount it as the regular user, the same command that works as root:
cloudfuse -o username=mycloudusername,api_key=75847... /home/user/cloud
produces this output:
fuse: failed to exec fusermount: No such file or directory

Am I missing something stupid here?

Dillon Amburgey

This sounds like an issue with FUSE in general, not cloudfuse. Have you seen that it works with other FUSE filesystems? Also, have you looked at the allow_other option for fuse mounting? It sounds like it might help

jdurkacs

allow_other seems to work. thanks!

jdurkacs jdurkacs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.