Opened 18 years ago
Closed 16 years ago
#281 closed defect (fixed)
Sharing the root folder of *NIX host -> Fixed in VBox 2.2.x
Reported by: | nirv | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 1.3.8 |
Keywords: | shared folders linux host | Cc: | |
Guest type: | other | Host type: | other |
Description
The parser removes slashes from the path, but it seams that tis is not the correct way to handle paths.
nasko@nasko-lap ~ $ vboxmanage sharedfolder add Win2k -name root -hostpath "/" VirtualBox Command Line Management Interface Version 1.3.8 (C) 2005-2007 InnoTek Systemberatung GmbH All rights reserved. [!] FAILED calling machine->CreateSharedFolder(Bstr(name), Bstr(hostpath)) at line 5533! [!] Primary RC = 0x80070057 [!] Full error info present: true , basic error info present: true [!] Result Code = 0x80070057 [!] Text = Shared folder path '' is not absolute [!] Component = SharedFolder, Interface: ISharedFolder, {8b0c5f70-9139-4f97-a421-64d5e9c335d5} [!] Callee = IMachine, {fd443ec1-0009-4f5b-9282-d72760a66916}
Change History (4)
follow-up: 2 comment:1 by , 18 years ago
comment:2 by , 18 years ago
Replying to sandervl73:
Since I think this will not lead to privilage elevation, in the guest you will have the same file system access as the user running the virtual machine on the host. This means no access to the /root folder, /etc/shadow and so on.
It is not a good idea to run the virtual machine as root :)
comment:3 by , 17 years ago
Component: | other → shared folders |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | Sharing the root folder of *NIX host → Sharing the root folder of *NIX host -> Fixed in VBox 2.2.x |
Works with VirtualBox 2.2.x or later.
Note:
See TracTickets
for help on using tickets.
True, but it's a very bad idea to share the root folder in the first place. :)