我使用 FUSE 文件系统作为我自己的用户没有问题,但 root 无法访问我的 FUSE 安装。相反,任何命令都会给出Permission denied
. 如何授予 root 读取这些挂载的权限?
~/top$ sudo ls -l
total 12
drwxr-xr-x 2 yonran yonran 4096 2011-07-25 18:50 bar
drwxr-xr-x 2 yonran yonran 4096 2011-07-25 18:50 foo
drwxr-xr-x 2 yonran yonran 4096 2011-07-25 18:50 normal-directory
~/top$ fuse-zip foo.zip foo
~/top$ unionfs-fuse ~/Pictures bar
Run Code Online (Sandbox Code Playgroud)
我的用户yonran可以很好地阅读:
~/top$ ls -l
total 8
drwxr-xr-x 1 yonran yonran 4096 2011-07-25 18:12 bar
drwxr-xr-x 2 yonran yonran 0 2011-07-25 18:51 foo
drwxr-xr-x 2 yonran yonran 4096 …
Run Code Online (Sandbox Code Playgroud)