In the first installment of this tutorial series we configured Ubuntu to share with Windows and set your Computer Name and Workgroup values. In Part II, we discovered the nitty gritty of the network connection details in Ubuntu. Finally, we'll figure out exactly how to share the files on your Ubuntu machine. We'll cover basic sharing if you want to quickly get your files on the network and advanced sharing if you prefer to customize the sharing permissions or privileges.
Once you've set up Windows sharing in Ubuntu, you can start sharing folders. The process is quite similar to what you may have experienced in Windows XP. To share files you actually share a folder. All the files and any sub-folders within the shared folder are available to others on the network. Exactly what you or others on the network can do with the shared files (for example, read-only or edit) from another computer is based upon the settings you choose when you share the folder.
Once you have a folder picked out to share, follow these steps in Ubuntu 8.04:
- Right-click the folder you want to share and click Sharing Options.
You can also access sharing preferences of folders from their Properties window; right-click a folder, click Properties, and choose the Share tab.
- On the Folder Sharing dialog box that appeared, select the Share this folder checkbox.
- Type a name for the share into the Share Name field.
This can be anything you choose that will help you and others identify the folder when browsing through all the shared folders of the Ubuntu machine from the Network or My Network Places window on another PC. This share name can differ from the folders real name, which remains the same regardless of what you input here.
- If you want people to be able to edit, add, or delete files that are in the folder, select the Allow other people to write in this folder checkbox.
This still requires users to input a username and password that was created during the SMB installation.
- If you people to be able to access the folder without a SMB username and password, select the Guest access checkbox.
- Click the Modify Share button to apply the changes and close the window.
You're done; it's that simple. Now you should be able to see this folder when browsing Network or My Network Places in Windows.