to share folder: Make sure 'fileshareset' is set suid root

I am a newbie in Linux trying to get file sharing going. In Suse 11 Konqueror I right-clicked into the Share properties of a folder in order to share it but I received this error:

An error occurred while trying to share folder ‘/home/brian/Share’. Make sure that the Perl script ‘fileshareset’ is set suid root.

I did a file search for ‘fileshareset’ and see there are two of them (in /usr/lib/kde4/libexec/ and in /usr/bin/). That’s confusing to me. But I thought, maybe I could use the setuid command on these files. But the command can’t be found.

I wonder why the operating system would introduce this kind of extra road-block to sharing a folder. So I think I must have done something wrong along the way, but I don’t know what.

bump

Got the same problem… :frowning:

Has anybody found solution for this? I have same trouble on 11.1…

I recently found a workaround for this bug. Tested and works for KDE4 in openSUSE 11.0, 11.1 and 11.2 alpha. I’ve written it into this tutorial:
Samba with Suse / openSUSE HowTo: Simple on-the-fly Shares with Konqueror, Dolphin or Nautilus on a SOHO LAN

In particular see this part:
Setting up KDE for on-the-fly sharing in Dolphin/Konqueror

I’d be intersted to see whether it works for ppl other than myself, so if you use it, let me know.

open a terminal, and type su to become root.
then type:
fileshareset --add path_of_shared_directory

That worked for me. :slight_smile:

see http://man.sourcentral.org/SUSE112/8+fileshareset

Thanks for that – I’ll look into it.