Hi,
if i try to create a new machine i get the error:
Could not create the directory '/mnt/sda3/home/harry/.VirtualBox/HardDisks' (VERR_ACCESS_DENIED).
Fehlercode:
NS_ERROR_FAILURE (0x80004005)
Komponente:
VirtualBox
Interface:
IVirtualBox {3f4ab53a-199b-4526-a91a-93ff62e456b8}
i do have all rights to the /mnt/sda3/home/harry/.VirtualBox (my user is the owner of all files and subdirectories)
and can create directories.
next i added read/write rights to /dev/vboxdrv
crw-rw---- 1 root vboxusers 10, 60 22. Sep 17:48 vboxdrv
the last tip from Internet which also does not solve my problem was:
/etc/init.d/vboxdrv setup
i still have this problem but WHY?
I use Debian Lenny and VirtualBox 3.0.6 (AMD 64)
VERR_ACCESS_DENIED
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VERR_ACCESS_DENIED
Did you add your login name to the vboxusers group?
Code: Select all
usermod -aG vboxusers <your username>-
hawiwo
- Posts: 5
- Joined: 22. Sep 2009, 17:35
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: VERR_ACCESS_DENIED
yes
/etc/group contains the line
vboxusers
122:harry
/etc/group contains the line
vboxusers
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VERR_ACCESS_DENIED
What does id in terminal say?
Did you remember to reboot the host after the install and permission changes?
Did you remember to reboot the host after the install and permission changes?
-
hawiwo
- Posts: 5
- Joined: 22. Sep 2009, 17:35
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: VERR_ACCESS_DENIED
harry@debian:~$ id
uid=1000(harry) gid=1000(harry) Gruppen=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),103(scanner),110(netdev),115(powerdev),121(firebird),122(vboxusers),1000(harry)
uid=1000(harry) gid=1000(harry) Gruppen=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),103(scanner),110(netdev),115(powerdev),121(firebird),122(vboxusers),1000(harry)
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VERR_ACCESS_DENIED
One more thing.
In terminal
VBoxManage list systemproperties
In terminal
VBoxManage list systemproperties
-
hawiwo
- Posts: 5
- Joined: 22. Sep 2009, 17:35
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: VERR_ACCESS_DENIED
harry@debian:~$ VBoxManage list systemproperties
VirtualBox Command Line Management Interface Version 3.0.6
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Minimum guest RAM size: 4 Megabytes
Maximum guest RAM size: 16384 Megabytes
Maximum video RAM size: 128 Megabytes
Maximum VDI size: 2097151 Megabytes
Default hard disk folder: /mnt/sda3/home/harry/.VirtualBox/HardDisks
Default machine folder: /mnt/sda3/home/harry/.VirtualBox/Machines
VRDP authentication library: VRDPAuth
Webservice auth. library: VRDPAuth
Log history count: 3
VirtualBox Command Line Management Interface Version 3.0.6
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
Minimum guest RAM size: 4 Megabytes
Maximum guest RAM size: 16384 Megabytes
Maximum video RAM size: 128 Megabytes
Maximum VDI size: 2097151 Megabytes
Default hard disk folder: /mnt/sda3/home/harry/.VirtualBox/HardDisks
Default machine folder: /mnt/sda3/home/harry/.VirtualBox/Machines
VRDP authentication library: VRDPAuth
Webservice auth. library: VRDPAuth
Log history count: 3
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VERR_ACCESS_DENIED
Ok it looks like you have set the default path to a different location then what VBox normally uses. Probably an external drive, right?
This is possible although a little harder to get to work correctly. First thing I would do is set the permission on the folders to all open (777) until you get it to work properly and then you can back it down once you have it working. It is going to be a permission problem though so it may take a bit.
This is possible although a little harder to get to work correctly. First thing I would do is set the permission on the folders to all open (777) until you get it to work properly and then you can back it down once you have it working. It is going to be a permission problem though so it may take a bit.
-
hawiwo
- Posts: 5
- Joined: 22. Sep 2009, 17:35
- Primary OS: Debian Lenny
- VBox Version: OSE Debian
- Guest OSses: Windows XP
Re: VERR_ACCESS_DENIED
it is a mounted ext2 partition on the same physical harddrive.
Now i changed the settings back to the installation defaults.
i thought it is necessary to set the paths to the existing machines/images on the other partition
but it works with adding the machines with the manager. So everything works fine now!
THANKS for helping me!
Now i changed the settings back to the installation defaults.
i thought it is necessary to set the paths to the existing machines/images on the other partition
but it works with adding the machines with the manager. So everything works fine now!
THANKS for helping me!