[Bug 260396] [NEW] cifs.mount: mapchars + utf8 = loop

staho staho at os.pl
Fri Aug 22 15:03:33 BST 2008


Public bug reported:

Binary package hint: samba

Mounting a SMB share with option "mapchars" gives odd effects with
folder names with non-ascii characters, eg. Polish national ones
(ąćęłńóśźż): the only contents of such a folder is the same folder
itself.

good (without mapchars):
$ sudo mount -t cifs //win2003server/whatever whatever -o credentials=/secret,iocharset=utf8
$ ls whatever
sprzęt
$ ls whatever/sprzęt
file1   file2

wrong (with):
$ sudo mount -t cifs //win2003server/whatever whatever -o credentials=/secret,iocharset=utf8,mapchars
$ ls whatever
sprzęt
$ ls whatever/sprzęt
sprzęt
$ ls -l whatever/sprzęt/sprzęt
ls: cannot access whatever/sprzęt/sprzęt: No such file or directory

in both cases:
$ env |grep LANG
LANG=pl_PL.UTF-8
GDM_LANG=pl_PL.UTF-8
$ uname -a
Linux lapsus 2.6.26-5-generic #1 SMP Fri Aug 15 13:54:58 UTC 2008 i686 GNU/Linux

Ubuntu 8.10 desktop, upgraded daily.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cifs mount smb utf8

-- 
cifs.mount: mapchars + utf8 = loop
https://bugs.launchpad.net/bugs/260396
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list