我的/etc/fuse.conf档案中有以下内容:
# 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    
但是当我尝试使用该选项挂载远程路径时allow_other:
> sshfs name@server:/remote/path /local/path -o allow_other
我得到:
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
我进行了三重检查,并且在上面复制时,该选项user_allow_other在我的注释中未注释fuse.conf。
我也执行了sudo adduser my_user_name fuse(虽然不确定是否需要执行此操作),但是仍然遇到相同的问题。
为什么无法/etc/fuse.conf正确解析文件?