Yesterday I tried installing the latest Kali Linux version on the latest
Virtual Box version (5.30.1) on my Mac OS 10.11.3.
I get a VERR_ACCESS_DENIED error message, as shown below.
I checked the Unix permissions : both the Kali-Linux-2017.2-vbox-amd64
directory and its contents have permissions set to rwxrwxrwx.
Following the advice given at https://apple.stackexchange.com/questio ... ess-denied,
I ran csrutil disable in Recovery Mode on my Mac and restarted it. This changed nothing to the problem.
verr_access_denied error on Mac OS 10.11.3
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: verr_access_denied error on Mac OS 10.11.3
The stackexchange advice is either irrelevant or flat out wrong. It is certainly irrelevant because it's about raw partition access, which is not what you're trying to do (is it?).
The error message should be pretty clear, the user running VirtualBox does not have sufficient rights to create the directory mentioned in the error message. It certainly doesn't look like the standard VirtualBox VM directory, so no one can really tell you why it's happening. The problem does not have to be ownership, although that is the most likely issue.
You say "both the Kali-Linux-2017.2-vbox-amd64 directory and its contents have permissions set to rwxrwxrwx", but that makes no sense, because VirtualBox is failing to create a directory, so what you need to be looking at is the /Volumes/Stal/Virtual_machines directory (and who owns that one).
And are you really running 10.11.3? Because that's pretty outdated, 10.11.6 is the latest.
The error message should be pretty clear, the user running VirtualBox does not have sufficient rights to create the directory mentioned in the error message. It certainly doesn't look like the standard VirtualBox VM directory, so no one can really tell you why it's happening. The problem does not have to be ownership, although that is the most likely issue.
You say "both the Kali-Linux-2017.2-vbox-amd64 directory and its contents have permissions set to rwxrwxrwx", but that makes no sense, because VirtualBox is failing to create a directory, so what you need to be looking at is the /Volumes/Stal/Virtual_machines directory (and who owns that one).
And are you really running 10.11.3? Because that's pretty outdated, 10.11.6 is the latest.
-
- Posts: 20
- Joined: 11. Jan 2017, 13:23
Re: verr_access_denied error on Mac OS 10.11.3
You're right on that one, I'm just trying to create/install a Kali Linux VM frommichaln wrote: it's about raw partition access, which is not what you're trying to do (is it?).
the latest ova file I downloaded from their website.
I recently upgraded to 10.11.6 and the problem stayed the same.michaln wrote: And are you really running 10.11.3? Because that's pretty outdated, 10.11.6 is the latest.
What is "the standard VirtualBox VM directory" on a Mac ? I never saw any mention of itmichaln wrote: It certainly doesn't look like the standard VirtualBox VM directory
in the manual. And some time ago I already successfully created and used VMS on my Mac's Virtual Box without ever noticing there was a "standard VirtualBox VM directory".
michaln wrote: You say "both the Kali-Linux-2017.2-vbox-amd64 directory and its contents have permissions set to rwxrwxrwx", but that makes no sense, because VirtualBox is failing to create a directory, so what you need to be looking at is the /Volumes/Stal/Virtual_machines directory (and who owns that one).
I understand better now. I've just realized something I hadn't realized before : the "Virtual Disk Image" key has an incorrect value in the Appliance Settings.
My ova file is located at the following precise path :
Code: Select all
/Volumes/HELPER/Virtual_machines/Kali-Linux-2017.2-vbox-amd64/Kali-Linux-2017.2-vbox-amd64.ova
But when I did that, the default value for the "Virtual Disk Image" key is
Code: Select all
/Volumes/Stal/Virtual_machines/Kali-Linux-2017.2-vbox-amd64/Kali-Linux-2017.2-vbox-amd64-disk001.vmdk
So I need to edit this value, but I'm not sure exactly what I should put.
I want the stuff to be located in the same place as the ova file, so I tried the following :
Code: Select all
/Volumes/HELPER/Virtual_machines/Kali-Linux-2017.2-vbox-amd64/
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: verr_access_denied error on Mac OS 10.11.3
The default VM directory is '~/VirtualBox VMs', i.e. a 'VirtualBox VMs' directory in the user's home directory. It is possible that you changed it to /Volumes/Stal/Virtual_machines. This can be set in the global preferences in the VirtualBox VM Manager GUI.
-
- Posts: 20
- Joined: 11. Jan 2017, 13:23
Re: verr_access_denied error on Mac OS 10.11.3
I did that, and now I get a different error at a later stage in the VM creation process, so I consider the initial question of this topic solved. Thanks for your helpmichaln wrote:The default VM directory is '~/VirtualBox VMs', i.e. a 'VirtualBox VMs' directory in the user's home directory. It is possible that you changed it to /Volumes/Stal/Virtual_machines. This can be set in the global preferences in the VirtualBox VM Manager GUI.