Shared Folder Permissions
Posted: 4. Aug 2014, 17:58
Hello everyone,
I've done some research on this topic but, I don't believe that I found a valid solution or clear enough explanation.
What I'm doing:
I am running a virtual box Ubuntu Server 14 on a Windows 7 host. The Windows host has an encrypted volume that I mount every time on start up (mounts as T: drive). I have set up virtual box to mount the T: drive automatically as a shared folder. The problem I'm running into involves permissions.
MAIN ISSUE: I am using this virtual ubuntu server as an sshd server, and I need to have this shared folder accessible to several different users. However, there are subdirectories in the shared folder that I want locked down so that only my user account has access.
It does not appear that I can do this by adding users to the vboxsf group since being a member of this group will give all users rwx permissions to the shared folder.
Digression:
Now in the past I had my windows 7 machine running an ssh server using cygwin which goes off the NTFS permissions, so all I had to do is set the folder permissions for windows users and cygwin would use these. However, I'm not sure how these permissions work exactly with the ubuntu guest server since it's not tied to the NTFS permissions. When I share a folder on the Windows host, how does virtual box determine the permissions to those files. Does the ubuntu server basically ignore all the windows permission of the folder?
I've done some research on this topic but, I don't believe that I found a valid solution or clear enough explanation.
What I'm doing:
I am running a virtual box Ubuntu Server 14 on a Windows 7 host. The Windows host has an encrypted volume that I mount every time on start up (mounts as T: drive). I have set up virtual box to mount the T: drive automatically as a shared folder. The problem I'm running into involves permissions.
MAIN ISSUE: I am using this virtual ubuntu server as an sshd server, and I need to have this shared folder accessible to several different users. However, there are subdirectories in the shared folder that I want locked down so that only my user account has access.
It does not appear that I can do this by adding users to the vboxsf group since being a member of this group will give all users rwx permissions to the shared folder.
Digression:
Now in the past I had my windows 7 machine running an ssh server using cygwin which goes off the NTFS permissions, so all I had to do is set the folder permissions for windows users and cygwin would use these. However, I'm not sure how these permissions work exactly with the ubuntu guest server since it's not tied to the NTFS permissions. When I share a folder on the Windows host, how does virtual box determine the permissions to those files. Does the ubuntu server basically ignore all the windows permission of the folder?