Unable to mount CIFS share with comma in path

Bug #1799624 reported by James NotGiven
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

james@llama$ sudo mount -t cifs "//juno/shares/Admin/Wilson,Joe" ~/mount

or

james@llama$ sudo mount -t cifs //juno/shares/Admin/Wilson\,Joe ~/mount

mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

dmesg reports the error as CIFS: Unknown mount option "Joe"

cifs-utils: 2:6.4-1ubuntu1.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cifs-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Anton C (ac14112) wrote :

Also having this same error when trying to mount a share with a comma in it.

sudo mount.cifs '//server/share/folder name-here/subfolder name/LNAME, FNAME (XX)' /cifs/share -o cred=/etc/cifs-creds,vers=3.0,uid=1000,gid=1000,dir_mode=0755,file_mode=0755

mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

dmesg:

CIFS: Attempting to mount //server/share/folder name-here/subfolder name/LNAME, FNAME (XX)
CIFS: Unknown mount option " FNAME (XX)"

Ubuntu 19.10
cifs-utils 2:6.9-0ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.