Bug 11208 - mapchars and nomapchars behaviour swapped
mapchars and nomapchars behaviour swapped
Status: NEW
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
All All
: P5 normal
: ---
Assigned To: Steve French
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-04-09 06:18 UTC by Björn Jacke
Modified: 2018-06-14 14:15 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2015-04-09 06:18:21 UTC
I just tested with the mapchars options because I added support for those mappings to convmv. The weird thing I found out while testing is that it looks to me like mapchars and nomapchars are swapped:

on the local filesystem:

 pipe

when mounted just with cifs vfs and option "nounix":

| pipe

(same with explicit mount options "nounix,mapchars")

But when mounted with cifs vfs and options "nounix,nomapchars":

 pipe

So it looks like a mapping is being done, when nothing or "nomapchars" is used and NO mapping is done when "mapchars" is used. The other way round would have been expected.

IMHO it would be okay, if "mapchars" would be made the default. From the behaviour actually it is already the default, but the naming is wrong :-)
Comment 1 Björn Jacke 2018-06-14 14:15:23 UTC
Steve: ping