Shared folder permission issue

Discussions about using Windows guests in VirtualBox.
Post Reply
rdb
Posts: 3
Joined: 20. Mar 2015, 21:40

Shared folder permission issue

Post by rdb »

I have a Windows 7 host with windows server 2008 r2 guest. I've successfully mapped a drive from the host to the guest with full access and can add/modify/delete files as a regular user. Problem is when I try to render a page within the guest I get a 500.19 error when it tries to read the web.config. I have no 'security' tab available on the property of the shared folder (from guest). How do I grant the permission necessary so that IIS can render the page correctly? If I move the site to a local drive on the guest the site works fine.

Thanks in advance.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared folder permission issue

Post by Perryg »

Try using network sharing instead of shared folders.
rdb
Posts: 3
Joined: 20. Mar 2015, 21:40

Re: Shared folder permission issue

Post by rdb »

I'm forced to use an internal network on my guest. I don't believe network sharing to the host is an option with this setting. Shared folders does appear to work with this setting except for the permission issue. Any other options?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared folder permission issue

Post by Perryg »

Not without knowing a lot more. You say you are forced to use Internal but there is always the host-only. Maybe if you could explain more about your reasoning someone could advise you a bit more.
rdb
Posts: 3
Joined: 20. Mar 2015, 21:40

Re: Shared folder permission issue

Post by rdb »

Corporate policy requires that all VMs run as 'Internal Network' for security reasons. I can not change this rule so network sharing is just not an option. Is there a way to grant the permission necessary so that IIS can render the page correctly using Shared Folders?
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: Shared folder permission issue

Post by noteirak »

This is a long-winded topic. I can only advise you to look at the previous posts and the ticket with the most activity so far which, while it doesn't directly answer your question, has potential info that could help you.

My personal advise is to not rely on shared folders and instead make a script to keep a copy inside the guest up-to-date with the shared folder.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply