Directory sharing: OSx Host, Oracle Linux guest
Posted: 28. May 2016, 23:20
My ultimate goal is create a functional virtual system: Oracle Linux 7.2, Oracle database XE, Apex 5.0.3 running under VirtualBox on Mac El Capitan host so I can replace really horrible desktop database applications such as FileMaker and MS Access (or worse, the use of Excel) with a real database backend and a reasonable front end. First problems encountered: I need to get file/directory sharing to work.
Given repeated failures to do so from scratch, I took the step to use an Oracle pre-built Developer VM -- the Service Delivery Platform (SDP) -- which gives me something close to what I ultimately want and which I know "works" at some basic level. Following SDP recommendations, I created OSX directory structures, where will be the directory shared with guest Linux.
Out of the box, SDP isn't configured for sharing. Following the instructions, in Linux, I entered -- it returned an error that yum could not find dkms.
With nothing to lose, I placed an alias ofinto the , and assigned this image to the VirtualBox CD/DVD device. Linux prompted to run from this virtual CD and the guest additions seemed to have been installed. In VirtualBox 'Shared Folders' settings for this system the values: VMShared is assigned to /Users/wkr/VMs/Shared as Permanent, automount, Full access.
In Linux, exists but is empty, but inaccessible: gives me "Permission Denied" on . Looking at permissions for this directory (, it shows .
In this SDP VM, 'oracle' is the login user, and this login is not a member of the vboxsf group. Placing 'oracle' into the vboxsf group does not allow 'oracle' access either.
I'm at loss for what I need to do to resolve the issue of shareable files between OSX host and Linux guest.
Given repeated failures to do so from scratch, I took the step to use an Oracle pre-built Developer VM -- the Service Delivery Platform (SDP) -- which gives me something close to what I ultimately want and which I know "works" at some basic level. Following SDP recommendations, I created OSX directory structures
Code: Select all
~/VMs/Images,~/VMs/Images, ~/VMs/ISOs, ~/VMs/Shared, ~/VMs/VBoxCode: Select all
~/VMs/SharedOut of the box, SDP isn't configured for sharing. Following the instructions, in Linux, I entered
Code: Select all
sudo yum install dkmsWith nothing to lose, I placed an alias of
Code: Select all
VBoxGuestAdditions.iso Code: Select all
~/VMs/ISOsIn Linux,
Code: Select all
/mnt/sharedCode: Select all
/media/sf_VMSharedCode: Select all
cd /media/sf_VMSharedCode: Select all
ls -l /mediaCode: Select all
drwdrwx--- root vboxsf sf_VMSharedIn this SDP VM, 'oracle' is the login user, and this login is not a member of the vboxsf group. Placing 'oracle' into the vboxsf group does not allow 'oracle' access either.
I'm at loss for what I need to do to resolve the issue of shareable files between OSX host and Linux guest.