Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have the following on my /etc/fuse.conf file:

# Set the maximum number of FUSE mounts allowed to non-root users.                       
# The default is 1000.                                                                   
#                                                                                        
#mount_max = 1000                                                                        

# Allow non-root users to specify the 'allow_other' or 'allow_root'                      
# mount options.                                                                         
#                                                                                        
user_allow_other    

But when I try to mount a remote path with the option allow_other:

> sshfs name@server:/remote/path /local/path -o allow_other

I get:

fusermount: failed to open /etc/fuse.conf: Permission denied
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf

I have triple checked and the option user_allow_other is uncommented in my fuse.conf,as I copied above.

I have also executed sudo adduser my_user_name fuse (not sure if this is needed though), but I still get the same problem.

Why is it not parsing the /etc/fuse.conf file correctly?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Given the message failed to open /etc/fuse.conf: Permission denied, I suggest

chmod a+r /etc/fuse.conf
share|improve this answer
add comment

A better solution might be to add the user to the fuse group, i.e.:

addgroup <username> fuse
share|improve this answer
    
Then log out and log back in! –  HDave Sep 9 '13 at 1:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.