VirtualBox

16 年 前 建立

16 年 前 結束

16 年 前 更新

#2265 closed defect (invalid)

Directory names clash with shared folder names

回報者: srackham 負責人:
元件: shared folders 版本: VirtualBox 2.0.2
關鍵字: mount shared folder 副本:
Guest type: Linux Host type: Windows

描述

If you have a folder in the same directory as your mount directory that has the same name as the VirtualBox shared folder name you will get a 'mounting failed with the error: Protocol error' error. Here's a transcript that illustrates the problem -- the first mount works fine, but the second (after creating a directory with the same name as the shared folder) fails:


$ ls -l
total 4
drwxr-xr-x 2 srackham srackham 4096 2008-09-18 17:10 shared

$ sudo mount -t vboxsf -o uid=srackham,gid=srackham host shared/

$ mount -t vboxsf
host on shared/ type vboxsf (uid=1001,gid=1001,rw)

$ sudo umount shared/

$ mkdir host

$ ls -l
total 4
drwxr-xr-x 2 srackham srackham 4096 2008-09-18 17:14 host
drwxrwxrwx 1 srackham srackham 0 2008-09-18 10:16 shared

$ sudo mount -t vboxsf -o uid=srackham,gid=srackham host shared/
/sbin/mount.vboxsf: mounting failed with the error: Protocol error


I don't know if this is the right place for unsolicited praise but a big thank you to everyone involved for this absolutely amazing piece of software.

更動歷史 (2)

comment:1 16 年 前Michael Thayer 編輯

狀態: newclosed
處理結果: invalid

This is something to do with either the mount programme or the shell (I forget which) which sees that the name on the command line matches the file and expands the name. Try using mount.vboxsf instead of mount.

comment:2 16 年 前Michael Thayer 編輯

And thanks for the nice words :)

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette