Saturday, July 28, 2007

Guide : VMWare Share Folders with Windows from Ubuntu

Make sure Samba is installed on Ubuntu
sudo apt-get install samba

Create a new Samba User
sudo smbpasswd -a USERNAME

Then edit the samba configuration file
sudo gedit /etc/samba/smb.conf

Then add the following to the bottom of the file

security = user
[NAMEOFSHARE]
path = DIRECTORYPATH
valid users =USERNAMEAS ABOVE
read only = No
create mask = 0777
directory mask = 0777

Then restart Samba
sudo /etc/init.d/samba restart

Then you need to configure the network connection of the VMWare instance, so edit the settings of the VMWare instance, I had the Ethernet Connection set as NAT.

It is then just a matter of starting windows, open 'My Network' and then the 'Entire Network' and you should see the share available for use.

No comments: