VirtualBox共享文件夹在vboxsf组上被拒绝权限


1

当vboxsf组的成员访问VirtualBox共享文件夹时,我遇到类似的问题。相反,我正在运行ArchLinux。正如在官方维基中也提到的那样,我已将我的用户放到vboxsf组中,我可以看到它id。问题是我在访问该文件夹时获得了权限被拒绝。情况如下:

# spondbob at bikinibottom-vb in ~ [12:42:18]
$ ls /media/sf_share_folder
ls: cannot access /media/sf_share_folder: Permission denied

# spondbob at bikinibottom-vb in ~ [12:41:43]
$ sudo ls -l /media/
total 0
drwxrwx--- 1 root vboxsf 0 Dec 12 23:17 sf_share_folder

# spondbob at bikinibottom-vb in ~ [12:41:52]
$ sudo ls -l /media/sf_share_folder
total 5
drwxrwx--- 1 root vboxsf 4096 Dec 12 23:51 projects
-rwxrwx--- 1 root vboxsf    4 Dec 12 23:13 tes.txt

# spondbob at bikinibottom-vb in ~ [12:41:54]
$ id
uid=1000(spondbob) gid=100(users) groups=100(users),10(wheel),95(storage),98(power),109(vboxsf)

# spondbob at bikinibottom-vb in ~ [12:41:59]
$ ls -l
total 0
lrwxrwxrwx 1 spondbob users 22 Dec 13 12:04 share_folder -> /media/sf_share_folder

# spondbob at bikinibottom-vb in ~ [12:42:07]
$ ls share_folder
ls: cannot access share_folder: Permission denied

任何帮助解决权限的人都表示赞赏。谢谢

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.