sshfsで-o allowed_otherを使用することはできません(fusion.confで有効になっているオプション)

sshfsで-o allowed_otherを使用することはできません(fusion.confで有効になっているオプション)

/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

上記のように3回確認しましたが、そのオプションは私のコメントuser_allow_otherから削除されました。fuse.conf

私もそうしましたsudo adduser my_user_name fuse(必要なことはわかりません)、まだ同じ問題があります。

/etc/fuse.confファイルが正しく解析されないのはなぜですか?

ベストアンサー1

このニュースを考慮してfailed to open /etc/fuse.conf: Permission deniedお勧めします。

chmod a+r /etc/fuse.conf

おすすめ記事