Access shared Ubuntu folder from Windows XP. Share files and folders with other computers
Create a folder on your Ubuntu desktop and name it share

Right click on the folder and select share

Ubuntu will now ask you to install the Samba pacakages. Select yes

Make sure to select both Windows Network SMB and also Unix Network

Once this is done you need to create a user in samba.
Enter the following in the terminal
sudo smbpassword -a {username}

The username is your Linux username that you use to login. This is to keep it simple.

You will then be prompted to enter a password, enter you Ubuntu password.

Next you need to make sure you can read and write to the file from Windows.

Enter the following command in the terminal
sudo gedit /etc/samba/smb.conf

Scroll down to the bottom of the page and where it says Writable change this to say Yes.

Save the configuration file and restart Samba

Restart Samaba by entering the following command at the terminal
sudo /etc/init.d/samba restart

Go back to your Windows Machine and right click on My Computer

Select Map Network Drive
In the boxes select Z: this is the drive then in the box underneath enter the following

\\ip_address_of_ubuntu_machine\folder_name

Now click connect and you should be prompted for the username and password. This is the username and password you created earlier. If everything goes as planned you should now have a shared folder with Ubuntu.
Home - Apache - Ubuntu - MySQL - PHP - Misc

The Ubuntu Counter Project - user number # 17415
Updated on: 2008-07-11 07:05:27