Samba config saved to incorrect file when creating shares in Advanced sharing mode

Bug #222929 reported by Naveen
14
Affects Status Importance Assigned to Milestone
kdenetwork (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kdenetwork-filesharing

When creating shares the configuration is written to /etc/samba/smb.conf; (note trailing semicolon) instead of /etc/samba/smb.conf

Steps to reproduce
1) open System settings -> Sharing -> File Sharing, switch to Administrator mode and select Advanced sharing mode
2) open konqueror and right click on any folder outside the home folder and click share from the context menu
3) select Share this folder and Share with Samba checkboxes and press Ok, enter password when prompted
Note: this also happens when using System settings as normal user once Advanced sharing mode is enabled

OS: Kubuntu 8.04 upgraded from Gutsy

lsb_release -rd output:
Description: Ubuntu 8.04
Release: 8.04

apt-cache policy kdenetwork-filesharing output:
kdenetwork-filesharing:
  Installed: 4:3.5.9-0ubuntu1
  Candidate: 4:3.5.9-0ubuntu1
  Version table:
 *** 4:3.5.9-0ubuntu1 0
        500 http://in.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

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

If there was an switch to admin mode button in KDE 4 this issue would be fixed completely.
However, I straced and the results are that it was trying to write the correct file, it just didn't get write permission to ;-)

Changed in kdenetwork:
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Ingo Müller (ubuntu-launchpad-ingomueller) wrote :

Is there a workaround? Or what do I have to do to use filesharing in dolphin? Thanks a lot in advance!

Revision history for this message
Sancho (ichsan) wrote : Re: [Bug 222929] Re: Samba config saved to incorrect file when creating shares in Advanced sharing mode

On Sun, Jan 4, 2009 at 10:49 PM, Ingo Müller
<email address hidden> wrote:
> Is there a workaround? Or what do I have to do to use filesharing in
> dolphin? Thanks a lot in advance!

Sorry, I don't know how to use file sharing with Dolphin. I use it
with Konqueror

--
~A useful man to others is a lucky man
http://michsan.blogspot.com

Rzqies, Order now! http://rzqies.wordpress.com

Revision history for this message
Ingo Müller (ubuntu-launchpad-ingomueller) wrote :

Dolphin and Konqueror seem to open the same file sharing dialog. Do you know a workaround for Konqueror? Thanks again in advance!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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