allow_root
ルートが設定されていない場合にユーザーファイルを表示できるのはなぜですかfuse
? (user2がインポートしましたが、ファイルpermission denied
はLinux Mint 19で見ることができます。)ls /media/user1/Data
sudo
user2@PC:~$ cat /etc/fuse.conf
...
# Allow non-root users to specify the allow_other or allow_root mount options.
#user_allow_other
user2@PC:~$ mount
...
/dev/sda5 /media/user1/Data fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
user2@PC:~$ man fuse
...
allow_other
This option overrides the security measure restricting file access to the user
mounting the filesystem. So all users (including root) can access the files. This
option is by default only allowed to root, but this restriction can be removed with
a configuration option described in the previous section.
user2@PC:~$ ls /media/user1/Data
ls: cannot access '/media/user1/Data': Permission denied
user2@PC:~$ sudo -i
# ls /media/user1/Data
...list of files