Easy folder sharing in KDE 4.4
Once more unto the KDE topic my friends, once more. This time, however, we take a look at a very useful feature that allows you to easily share out folders with a few clicks.
These folders will be shared with the help of Samba and not a single line of a configuration file will have to be edited by the user. It's a pretty sweet feature, so let's start sharing.
First things first
Of course you are going to have to have Samba installed and running on your machine. Â You will at least need:
- Samba Client
If you do not already have those pieces of the puzzle installed, do so and then start Samba with a command similar to sudo /etc/init.d/samba start. The full path to the samba executable will depend upon your distribution.
Open up Dolphin (the KDE file manager) and navigate to a directory you want to share. Â Right click that folder and then go to the Share tab in the new window (see Figure 1). In this tab you will want to check the following options:
- Share this folder in the local network.
- Share with Samba.
Under SAMBA options you can then give the share a name and decide if you want the folder to be Public and Writable.
When you click OK you will be prompted for your sudo (or root) password.
If you click the More Samba Options you can fine-tune the share. Â Just make sure that you know Samba well before you attempt to handle any of these options. If you make one wrong configuration in this section you can fubar your Samba install and have some serious troubleshooting on your hands.
Once a folder has been shared, the Dolphin icon will change. Figure 2 shows four icons in the file manger. The Public folder has been marked as "shared".
Now go to another machine (a Windows machine will do) and see if this share is showing up. If it is not, you might have to restart Samba. But before you restart Samba, give the newly shared folder a moment to show up.
If you have problems writing to this newly shared folder, most likely the issue is permissions. Before you go to the More Samba Options section, first check the permissions of the directory itself. Make sure that both Group and Others have writable permission to the directory. Â You can do this from the Permissions tab in the Properties window (see Figure 3). Once you taken care of the folder permissions, your users should then be able to read and write to that shared folder.
A word of caution
Make sure the folder you are sharing out doesn't contain any sensitive data you wouldn't want other users to see, edit, or delete. And, like any folder sharing situation, make sure you are on a nice secure network before you start sharing out folders.
Many people probably never thought they'd see the day when sharing out folders in Linux was as easy as it is in other operating systems. That day has finally come with the help of Samba and KDE 4.4.Advertisement