[shares-admin] creates multiple repeat entries in smb.conf when the folder name contains a '$'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Medium
|
|||
system-tools-backends (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Using Ubuntu Breezy, although this problem was also observed under Hoary. Using gnome-system-tools 1.4.0-0ubuntu10
When using the graphical tool for administering Samba shares (/usr/bin/
Steps to repeat:
1. "sudo mv /etc/samba/smb.conf /etc/samba/
2. Start up shares-admin, either from the command line or via System > Administration > Shared Folders
3. Add a new Samba share. I added a hidden name "folder$" and a comment and ticked the browseable and read-only buttons.
4. Close shares-admin.
5. Inspect /etc/samba/
6. If you restart shares-admin, you will see multiple (I get 9) blank entries. Not very helpful.
(*) Yes, you're not supposed to just delete package files. I guess this also work if you have a fresh install of samba-common, i.e. "sudo apt-get --purge remove samba-common && sudo rm /etc/samba/
(#) After the shares-admin, my smb.conf reads:
[global]
wins support = no
[folder$]
path = /home/rewley/folder
[folder$]
comment = a folder
[folder$]
available = yes
[folder$]
browseable = yes
[folder$]
public = yes
[folder$]
writable = no
[folder$]
[folder$]
[folder$]
Changed in gnome-system-tools: | |
assignee: | nobody → gnome |
Changed in gst: | |
status: | Unconfirmed → Fix Released |
Changed in gst: | |
importance: | Unknown → Medium |
Thanks for your bug report. I forwarded the issue to the upstream bug tracker: http:// bugzilla. gnome.org/ show_bug. cgi?id= 325495