[Bug 44707] Samba shares with spaces cannot be mounted
Michael Greifeneder
mikegr at gmx.net
Sun May 14 15:54:01 UTC 2006
Public bug reported:
Binary package hint: kde-systemsettings
I wanted to add a samba share on a windows compouter with a blank in its name. I added this share with Disk&Filesystems tools from kde-systemssettings.
I selected "New..", chose "Windows File Sharing" and use "Scan..." to select
my share. A blank is translated to "%20", however /etc/fstab needs "\040" for spaces. Therefore mounting fails with
An error occurred while enabling /media/helene.
The system reported: 8555: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
Details:
Return code from mount was 1.
"incorrect invocation or permissions"
If you correct the line in fstab with a text editor and replace "%20"
with "\040" it works. Changing this in kde-systemsettings would fail,
because a backslash is escaped with \134 and therefore "\040" written to
fstab as "\134040. I'm using Dapper Drake with
>dpkg-query -W kde-systemsettings
kde-systemsettings 0.0svn20060512-0ubuntu1
** Affects: kde-systemsettings (Ubuntu)
Severity: Normal
Priority: (none set)
Status: Unconfirmed
--
Samba shares with spaces cannot be mounted
https://launchpad.net/bugs/44707
More information about the kubuntu-bugs
mailing list