I just installed Drupalpro on my new Macbook Pro and promptly messed up the shared folders. I am able to save files on the host OS to the folder and see them in Drupalpro. But I can't save files in Drupalpro to the shared folder. I get permission denied. Any ideas on how to restore?

Thanks,
Mickey

Comments

mike stewart’s picture

Status: Active » Closed (works as designed)

sorry, I don't use MAC so I'm afraid I'm not much help... plus this is really outside the scope of Drupalpro ... its a VirtualBox question about sharing a (Mac) Host folder with Ubuntu (guest). I'm sure a little time with a good search engine should have the answer...

However, here's the help I can offer. First, ensure you've updated your Guest Additions to match the version of VirtualBox you're running. In short, it should be as easy as:

  1. Start Drupalpro,
  2. then from Virtualbox menu
  3. choose: Devices > Install Guest Additions...

Once Guest Additions have been updated, follow the directions in Drupalpro for setting up shared folders:

  1. Open the Devices menu (Virtualbox), and choose "Shared Folders..."
  2. Choose: Add Shared folder. (Insert key)
  3. FOLDER PATH: Browse for a folder you'd like to access on the host.
  4. FOLDER NAME: shared
  5. MAKE PERMANENT: checked, otherwise it'll create a transient folder and it won't work.
  6. Choose Ok > Choose Ok > Finally, reboot the virtual machine
  7. reboot Drupalpro
micnap’s picture

I had done a google search and saw mentions of installing guest additions. But I also saw this post from Quickstart - http://drupal.org/node/907636 - and then found the 2-vbox-quest-additions.sh script in the setup_scripts folder of Drupalpro, so was wondering if there was a way to just run part of the setup scripts instead.

I've got it running now though. Thanks for your response.

mike stewart’s picture

I'm glad you got it working. I figured it was a guest additions problem.

to answer:

and then found the 2-vbox-quest-additions.sh script in the setup_scripts folder of Drupalpro, so was wondering if there was a way to just run part of the setup scripts instead.

in short, it wouldn't help in this situation, unless you just ran the script to install guest additions which in this case would update them. but it is possible.

mikebrooks’s picture

I am using Drupalpro on a Windows 7 PC.

I could not even open the Shared Folder. I found my answer to the Permission Denied problem here:

http://unix.stackexchange.com/questions/52667/file-permission-issues-wit...

Basically, I needed to add the "drupalpro" user to the vboxsf group. In terminal I ran the command below and then restarted.

usermod -aG vboxsf drupalpro