Recently I covered folder sharing in KDE 4.4 (Read my article "Easy folder sharing in KDE 4.4"). I thought I should offer the same article for the GNOME desktop.
Although the tasks are fairly similar, there are subtle differences that could trip up the new users. But since this process removes the the challenge of the typical Samba set up, it is a task you definitely need to understand how to take care of.
In this article you will learn the tools you need to install and how to share out folders, via Samba, in the GNOME desktop.
Sharing out Public
In modern GNOME installations you should notice a folder called ~/Public. To make things simple, we're going to share out that folder (It makes the most sense anyway). If you haven't already installed Samba you will now get your chance.
Open up Nautilus (GNOME file manager) to your Home directory. Right click the Public folder and select the Sharing Options entry. When this new window opens (see Figure 1) you will instantly see a simple check box to tick.
When you tick that checkbox a window will appear informing you that the "Sharing service is not installed". Click Install Service in that new window. After you enter your password Samba and libpam-smbpass will be installed. When the installation is complete a new window will appearing instructing you to restart your session.
Once installed and restarted, the sharing options will be available to you (see Figure 2). Configure this folder as per your needs. Understand that if you check "Guest Access" that means anyone that can see your network will have access to this folder - so choose wisely.
After you make all of your configurations, click Create Share which will then open up a new window. This new window will really surprise you. Check out Figure 3. GNOME has become so intelligent and user-friendly that it will make all of the permission changes necessary for you! Just click the Add the permissions automatically and you're done.
You will know a folder is shared in GNOME because the folder icon will have changed (see Figure 4)
Now go over to a different machine on your network and see if the new share is available. If, on a Windows machine, you can't see it yet you can always open up Explorer and enter:
Where IP_ADDRESS_OF_SHARE is the ip address of the machine with the new share. If you opened that folder up to guests you won't even need to enter a username or password. And you will automatically have read/write access to that folder. How simple is that? Of course, if you should change your mind about the permissions of the shared folder you can always right click that folder select Properties, go to the Permissions tab, and change the permissions as needed.
It always seems that the GNOME desktop is one step ahead of the competition. When there is a feature available for a desktop, GNOME always takes that feature and either makes it better or easier. If you're looking to share out folders on a GNOME desktop, it couldn't be any easier.
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.