[Bug 54526] Mounting remote Samba shares does not work correctly

JJ jackintheforest at workbench.net
Sun Jul 30 09:01:42 UTC 2006


Public bug reported:

Binary package hint: kubuntu-desktop

In attempting to mount Samba shares on a remote system, I came across
two issues. Note I was using System Settings | System Administration |
Disk & Filesystems, using Administrator mode, clicked on New, set Type
to Windows File Sharing, etc.  The two issues were as follows:

1) Kubuntu (and possibly also Ubuntu) do not automatically install smbfs
during initial setup, and until smbfs is installed, you get confusing
error messages while trying to mount your shares.  So perhaps smbfs
should be installed as part of a default Kubuntu/Ubuntu installation, or
at very least the error message should mention that smbfs needs to be
installed.

2) If the share you are trying to mount has a space in the name (e.g.
Disk 1), the configuration dialog attempts to convert it to a
hexadecimal value, %20.  But that will not work in fstab.  Instead,
fstab wants to see an octal (!) value, in the form \040 - so, attempting
to mount a share with a space in the name will always fail for most
users unless they figure out what the problem is and manually edit
fstab, changing the %20 to \040

A third, minor issue is that by default it sets the 'Files belong to
user/group' settings to root.  But it doesn't work (for writing to the
remote share in particular) unless you set these to the value of the
user (since you cannot log in as root).

** Affects: kubuntu-meta (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

** Description changed:

  Binary package hint: kubuntu-desktop
  
  In attempting to mount Samba shares on a remote system, I came across
  two issues. Note I was using System Settings | System Administration |
  Disk & Filesystems, using Administrator mode, clicked on New, set Type
  to Windows File Sharing, etc.  The two issues were as follows:
  
  1) Kubuntu (and possibly also Ubuntu) do not automatically install smbfs
  during initial setup, and until smbfs is installed, you get confusing
  error messages while trying to mount your shares.  So perhaps smbfs
  should be installed as part of a default Kubuntu/Ubuntu installation, or
  at very least the error message should mention that smbfs needs to be
  installed.
  
  2) If the share you are trying to mount has a space in the name (e.g.
  Disk 1), the configuration dialog attempts to convert it to a
  hexadecimal value, %20.  But that will not work in fstab.  Instead,
  fstab wants to see an octal (!) value, in the form \040 - so, attempting
- to mount a share with a sapce in the name will always fail for most
+ to mount a share with a space in the name will always fail for most
  users unless they figure out what the problem is and manually edit
  fstab, changing the %20 to \040
  
  A third, minor issue is that by default it sets the 'Files belong to
  user/group' settings to root.  But it doesn't work (for writing to the
  remote share in particular) unless you set these to the value of the
  user (since you cannot log in as root).

-- 
Mounting remote Samba shares does not work correctly
https://launchpad.net/bugs/54526




More information about the kubuntu-bugs mailing list