File permissions in shared folders

Discussions about using Windows guests in VirtualBox.
Post Reply
saloom
Posts: 5
Joined: 4. Jun 2015, 12:51

File permissions in shared folders

Post by saloom »

Hi, I am running Windows guest in an Ubuntu host. My Dropbox folder is located in the host machine and I have it shared with the Windows OS.

I am trying to access a Web Project in Visual Studio and I cannot attach the project to IIS because I get permission errors. I try to edit the permission of the files in the shared folder but there is no security tab.

Anyone knows the solution to this problem? Thanks alot.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: File permissions in shared folders

Post by mpack »

The "DropBox folder" is itself a shared folder isn't it?

You can't normally share a share, which is why you have problems, and also why there is no security tab (the server sets security options on a shared folder, not the client! It would be very useful security otherwise).

The VM needs to have its own independant DropBox link, you shouldn't be trying to access it via the host.
saloom
Posts: 5
Joined: 4. Jun 2015, 12:51

Re: File permissions in shared folders

Post by saloom »

Hi mpack,

I am not really sure what you mean by Dropbox folder being itself a shared folder. In order though to test the situation, I did the following:

I went to Settings--->Shared Folders-->Add new Icon--> Chose a random folder and checked the auto-mount box.

Next time I started my VM I had that folder mounted as a Drive in Windows Explorer. Anything under this folder, with right click-->Properties does not show a Security Tab at all. icacls command fails and Get-Acl returns error code 1 when run under the shared folder.

The Guest OS is Windows Server 2008 if this is of any help.
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: File permissions in shared folders

Post by noteirak »

Shared folders are a very basic implementation of network shares and things like Security is simply not handled, so it's normal you're not getting anything on it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: File permissions in shared folders

Post by mpack »

saloom wrote:I am not really sure what you mean by Dropbox folder being itself a shared folder.
I don't use DropBox myself, though I'm aware that it's a cloud storage service. So I'm having to guess at what "a DropBox folder" is. I assume it's a view you have of files that are actually stored remotely: i.e. it's a network shared folder.
Post Reply