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?
Sharing a directory from the host for use as a webroot
-
Tim Climis
- Posts: 1
- Joined: 4. Sep 2013, 03:22
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Sharing a directory from the host for use as a webroot
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.
I would advice to use regular network shares directly in windows.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!