On Sun, 2013-03-31 at 10:17 +1100, Jason White wrote: > Andrew Greig <[email protected]> wrote: > > > andrewg@linux-wvs7:/usr/bin> /usr/bin/VBoxManage createhd --filename > > Win7.vdi --size 20000 --variant Fixed > > 0%... > > Progress state: VBOX_E_FILE_ERROR > > VBoxManage: error: Failed to create hard disk > > VBoxManage: error: Could not create the medium storage unit > > '/usr/bin/Win7.vdi'. > > VBoxManage: error: VDI: cannot create image > > '/usr/bin/Win7.vdi' (VERR_ACCESS_DENIED) > > VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), > > component Medium, interface IMedium > > VBoxManage: error: Context: "int handleCreateHardDisk(HandlerArg*)" at > > line 382 of file VBoxManageDisk.cpp > > andrewg@linux-wvs7:/usr/bin> > > > > I understand why a user cannot create a file in /usr. > > What I don't understand is why vbox is trying to create the hd in /usr > > instead of in my home dir > > The shell prompt (see quote above) suggests that /usr/bin was your current > directory when you invoked the command, and it probably just tried to create > the file in the current directory. > > Also, you shouldn't have to specify the path (/usr/bin) as part of the command > if your $PATH variable is set correctly. > Hi Jason,
Thanks for that tip on invoking a command in a directory. I had success in an unusual way when I loaded the VirtualBox-qt version (although I run under Gnome) everything just worked, straight away. Damn odd really. VirtualBox-gtk was not a happy camper - go figure. Andrew Greig _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
