Samba tips and tricks: Difference between revisions
Jump to navigation
Jump to search
(Created page with " == Wired file name on Window file explorer while correct file name on Linux == Window file explorer shows wired file name, <code>G2X4IA~5 O2T3KH~K SYJ2IT~R</code> It's a file name mangling problem due to Samba is converting filenames down to old style DOS 8.3 filenames. On server side, edit <code>/etc/samba/smb.conf</code> and add <code>mangled names=no</code> to the <code>[global]</code> section and restart the smb service.<ref>Reference: <nowiki>http://oreilly.co...") |
No edit summary |
||
Line 2: | Line 2: | ||
== Wired file name on Window file explorer while correct file name on Linux == | == Wired file name on Window file explorer while correct file name on Linux == | ||
Window file explorer shows wired file name, | Window file explorer shows wired file name, | ||
< | <G2X4IA~5 | ||
O2T3KH~K | O2T3KH~K | ||
SYJ2IT~R</code> | SYJ2IT~R</code> | ||
It's a file name mangling problem due to [[Samba]] is converting filenames down to old style DOS 8.3 filenames. | It's a file name mangling problem(AKA [[wikipedia:Filename_mangling|Filename mangling]]) due to [[Samba]] is converting filenames down to old style DOS 8.3 filenames. | ||
On server side, edit <code>/etc/samba/smb.conf</code> and add <code>mangled names=no</code> to the <code>[global]</code> section and restart the smb service.<ref>Reference: <nowiki>http://oreilly.com/openbook/samba/book/ch05_04.html</nowiki></ref> | On server side, edit <code>/etc/samba/smb.conf</code> and add <code>mangled names=no</code> to the <code>[global]</code> section and restart the smb service.<ref>Reference: <nowiki>http://oreilly.com/openbook/samba/book/ch05_04.html</nowiki></ref> |
Latest revision as of 13:38, 14 July 2024
Wired file name on Window file explorer while correct file name on Linux
Window file explorer shows wired file name,
<G2X4IA~5 O2T3KH~K SYJ2IT~R
It's a file name mangling problem(AKA Filename mangling) due to Samba is converting filenames down to old style DOS 8.3 filenames.
On server side, edit /etc/samba/smb.conf
and add mangled names=no
to the [global]
section and restart the smb service.[1]
References
- ↑ Reference: http://oreilly.com/openbook/samba/book/ch05_04.html