fos*_*ndy 2 ubuntu permissions fuse
我以前在 aufs-tools 中使用过 aufs2 很幸运,但显然这个包已被“取代”(这是一个奇怪的术语,用于一个包似乎只是因为它不再编译而被删除,但没关系) .
好的,所以我想我会尝试使用 unionfs-fuse。不过,我终其一生都无法弄清楚如何让它为用户服务。
我正在使用此命令进行统一安装:
unionfs-fuse /mnt/disk1-pool=RW:/mnt/disk3-pool=RW /mnt/union-pool
Run Code Online (Sandbox Code Playgroud)
当我以 root 身份运行它时,我无法以 joe 用户身份访问此共享:
$ ls -al /mnt
ls: cannot access /mnt/union-pool: Permission denied
...
d?????????? ? ? ? ? ? union-pool
Run Code Online (Sandbox Code Playgroud)
当我以 joe 用户身份运行它时,我无法以 root 身份访问此共享。我基本上得到与上面完全相同的输出。这对我来说有点奇怪,root 就是 root。
root(显然)和 joe 用户都可以访问 /mnt/disk1-pool 和 /mnt/disk3-pool 安装。
如果有人有关于 natty 的 aufs-tools 的任何信息,我也会感兴趣。我非常喜欢这个包,因为它有效。
我想(但未尝试)该fuse
选项-o allow_other
(也在unionfs-fuse
手册页的示例中显示)可能会有所帮助。
编辑
尝试这个
sudo mount -t aufs -o br:/mnt/disk1-pool=RW:/mnt/disk3-pool=RW \
none /mnt/union-pool
Run Code Online (Sandbox Code Playgroud)
这似乎也可以在没有aufs-tools
包装的情况下工作。