[Pkg-samba-maint] Bug#816650: cifs-utils: problems dealing with directory on cifs containing an asterisk in its name

Arthur Marsh arthur.marsh at internode.on.net
Thu Mar 3 17:24:28 UTC 2016

Package: cifs-utils
Version: 2:6.4-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

A long time back I found that a directory on a cifs mounted file system
(also running Debian, but 32 bit) could be made current directory,
but attempts to access files within it failed.

The filesystem is mounted as:

// on /mnt/homes type cifs (rw,relatime,vers=1.0,cache=strict,username=root,domain=VICTORIA,uid=0,noforceuid,gid=0,noforcegid,addr=,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1)

and there are 2 directories under /mnt/homes containing commas and an 
asterisk in their names:


if I do:

ls /mnt/homes/amarsh04/Ayane*Game
ls: reading directory '/mnt/homes/amarsh04/Ayane,_Kanako_Ito,_CooRie,_Minami_Kuribayashi,_Hiromi_Sato,_nao,_Faylan,_Yozuca*-New_Game': Not a directory

If I do:

$ cd /mnt/homes/amarsh04/Ayane*Game
amarsh04 at am64:/mnt/homes/amarsh04/Ayane,_Kanako_Ito,_CooRie,_Minami_Kuribayashi,_Hiromi_Sato,_nao,_Faylan,_Yozuca*-New_Game$ ls
ls: reading directory '.': Not a directory

   * What exactly did you do (or not do) that was effective (or
   * What was the outcome of this action?
   * What outcome did you expect instead?

being able to use file and directory names that include such characters.

*** End of the template - remove these template lines ***

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-rc6+ (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages cifs-utils depends on:
ii  libc6         2.21-9
ii  libcap-ng0    0.7.7-1+b1
ii  libkeyutils1  1.5.9-8
ii  libkrb5-3     1.13.2+dfsg-5
ii  libtalloc2    2.1.5-2
ii  libwbclient0  2:4.3.3+dfsg-2+b1
ii  samba-common  2:4.3.3+dfsg-2

Versions of packages cifs-utils recommends:
ii  keyutils  1.5.9-8
ii  winbind   2:4.3.3+dfsg-2+b1

Versions of packages cifs-utils suggests:
ii  smbclient  2:4.3.3+dfsg-2+b1

-- no debconf information

More information about the Pkg-samba-maint mailing list