Share folder linked to HOME directory of Logon-Account

Discussions about using Windows guests in VirtualBox.
Post Reply
c.monty
Posts: 16
Joined: 20. Nov 2007, 11:17

Share folder linked to HOME directory of Logon-Account

Post by c.monty »

Hi!
I'm running Windows XP as guest on Linux (Ubuntu 7.10) host.
The guest OS has 3 different logons:
Administrator
user1
user2

Both user1 & user2 have non-administrative permissions on guest.
Both user1 & user2 have a HOME directory on the host.

Now my intention is to mount a share to HOME/user1 if user1 is logging in to guest, and to mount a share to HOME/user2 if user2 is logging in.

This mount process should run automatically.

How can this achieved?


Thanks,
Thomas
Ingo
Volunteer
Posts: 731
Joined: 22. Aug 2007, 10:13
Location: Germany

Post by Ingo »

Use Host Interface Networking together with samba. Samba is able to do all these things.
c.monty
Posts: 16
Joined: 20. Nov 2007, 11:17

Post by c.monty »

"Host Interface Networking"
???

It's not clear to me why the virtuell network configuration should impact this.
I mean, I can access any shared drive of the host (SAMBA share) from the guest.
However, the critical point is to share the relevant HOME directory of the user that logs in to guest.
Ideally this should look like
Drive D:\ is mounted to share \HOME\user1
if this user user1 logs in and
Drive D:\ is mounted to share \HOME\user2
if this user user2 logs in.

In case this is impossible, I would create a share "Data" for both users and mount this to D:\. However, user1 should have only access to subdirectoy /Data/user1 and user2 only access to subdirectoy /Data/user2.
Post Reply