Page 1 of 1

Sharing a directory from the host for use as a webroot

Posted: 4. Sep 2013, 03:32
by Tim Climis
To be clear, sharing from the host (windows 7) to the guest (windows server 2008 r2) is working fine - the files are there. I can access them.

The problems come when I try to do anything remotely interesting with them. What I'm trying to do is set up a development server. So I've set up IIS on my guest box, and then on the host, is a build directory, containing website code.

In order to avoid having to copy this code from the host to the guest in order to test it, I set up a share, so the host's build directory is being shared with the guest. Then, I set that share as the webroot in IIS. So far so good.

However, when I try to load the website, IIS can't read it, presumably because IIS_IUSRS doesn't have permission to the shared drive. When I try changing the website permissions to use those of the user I'm logged in with, I still get nothing. And since when I look at properties of the drive, I don't even have a security tab, I can't tell what the permissions are.

Does anyone know how to a. find out the permissions, and b. change them?

Re: Sharing a directory from the host for use as a webroot

Posted: 4. Sep 2013, 19:11
by noteirak
If you are talking about the shared folders features of Virtualbox, it is only an emulation of network shares, and AFAIK security features are not enabled.
I would advice to use regular network shares directly in windows.