I have smbd version 3.6.6 on Linux and mount the share on a FreeBSD system with mount_smbfs
. When I try to copy (cp
) a filename containing a question mark, I will get the error:
No such file or directory
Renaming the files would be obviously possible, but sadly they are saved html pages referencing each other and I would also have to change the source code.
I know that question marks in filenames is a very bad style but aside from the samba-problem they don't cause any issues.
Disabling or enabling the option display charset = utf-8
does not help.
?
characters? Is it not justls
or your terminal emulator printing a?
in place of non-printable characters or non-characters? Do you still see a question mark if you runls | cat
orls | sed -n l
? – Stéphane Chazelas Apr 26 '17 at 15:21