Unable to share folder from Dolphin

Bug #355974 reported by mugginz
4
Affects Status Importance Assigned to Milestone
kdelibs
Invalid
Undecided
Unassigned
kde4libs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Dolphin 4.2.2
Jaunty Beta.

Dolphin uses /usr/lib/kde4/libexec/fileshareset to add and remove file shares but by default it's not suid. Therefore it fails with an error report of
"Sharing folder '/home/mugginz/Videos' failed."
"An error occurred while trying to share folder '/home/mugginz/Videos'. Make sure that the Perl script 'fileshareset' is set suid root."

/usr/bin/fileshareset is suid by default. (This verision of fileshareset is installed from kdelibs4c2a) but /usr/lib/kde4/libexec/fileshareset isn't. (This verision of fileshareset is installed from kdelibs5)

Each version of fileshareset have different md5 checksums.

sudo chmod u+s /usr/lib/kde4/libexec/fileshareset allows Dolphin to sucessfully add the share.

This should probably be set this way by default.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Fix committed to packaging branch.

Changed in kde4libs (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde4libs - 4:4.2.96-0ubuntu1

---------------
kde4libs (4:4.2.96-0ubuntu1) karmic; urgency=low

  [ Richard A. Johnson ]
  * Updated kubuntu_51_launchpad_integration.diff for apport-kde

  [ Harald Sitter ]
  * Don't fix fileshareset's permissions (i.e. remove suid bit), otherwise
    setting share will throw an error about it (LP: #355974)

  [ Steve Stalcup
  * New upstream release
    - Bump KDE versions to 4.2.96 (KDE 4.3 RC 2)

 -- Steve Stalcup <email address hidden> Thu, 09 Jul 2009 11:12:34 -0400

Changed in kde4libs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Harald Sitter (apachelogger) wrote :

Apparently upstream is missing the appropriate cmake stuff to make the file actually install with the suid-bit set... so the only way to fix this right now is to set it manually, which is super awful.

I'll try to add the necessary magic for next KDE release (no promises).

Changed in kde4libs (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Ofir Klinger (klinger-ofir) wrote :

This bug still exists on kubuntu 9.10 beta, and it prevents from sharing folders.

As mentioned in the bug, the following command solves the issue:
sudo chmod u+s /usr/lib/kde4/libexec/fileshareset

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

Changed in kdelibs:
status: New → Invalid
Changed in kde4libs (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.