Page 1 of 1
File permissions in shared folders
Posted: 16. Sep 2015, 17:16
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.
Re: File permissions in shared folders
Posted: 16. Sep 2015, 19:16
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.
Re: File permissions in shared folders
Posted: 17. Sep 2015, 17:28
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.
Re: File permissions in shared folders
Posted: 17. Sep 2015, 17:43
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.
Re: File permissions in shared folders
Posted: 17. Sep 2015, 19:01
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.