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