I'm having problems mounting a CIFS network drive for use in an application I develop/maintain. The share path has a folder in it named
, Employees as in
Company/, Employees/Some data (the mapped folder is on a Windows domain).
I had to escape the spaces already with the octal
\040. The octal
\054 for comma does not work - I still get an error. After looking at
kern.log, I see it is interpreting the comma literally and breaking the path:
Nov 21 11:15:58 dashboard-prod kernel: [669753.128303] CIFS: Unknown mount option " Employees/Some data"
It seems that it is ending the path there and expecting what followed the comma to be a path option.
Here's the line in fstab:
//path/to/share/, Employees/ /local/path cifs defaults,password=foo,sec=ntlm,iocharset=utf8,username=bar 0 0
When I attempt to quote the path (hoping it would escape the comma properly) it does escape the comma properly, but then I get:
mount.cifs: bad UNC ('//path/to/app/, Employees/folder')