[Bug 481482] Re: mtools truncates short filenames in a way that can cause conflicts
Rolf Leggewie
481482 at bugs.launchpad.net
Tue Nov 18 14:06:14 UTC 2014
Karmic has long since stopped to receive any updates. Marking the Karmic
task for this ticket as "Won't Fix".
** Changed in: mtools (Ubuntu Karmic)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mtools in Ubuntu.
https://bugs.launchpad.net/bugs/481482
Title:
mtools truncates short filenames in a way that can cause conflicts
Status in “mtools” package in Ubuntu:
Fix Released
Status in “mtools” source package in Lucid:
Fix Released
Status in “mtools” source package in Karmic:
Won't Fix
Bug description:
Binary package hint: mtools
On karmic and lucid, the newer version of mtools introduces a
regression that causes filenames to break. According to the mtools
documentation (http://mtools.linux.lu/mtools.html#SEC7), long
filenames beyond eight characters should be truncated down to six
characters then a tile and number. i.e. thisisatest becomes THISIS~1
for the short filename.
This behavior works correctly on 3.9 series mtools releases, but on
4.0, thisisatest would get truncated to thisisat. A simple testcase to
this behavior is the following:
mcasadevall at daybreak:/tmp$ mkdosfs -C test.img 10000
mkdosfs 3.0.3 (18 May 2009)
mcasadevall at daybreak:/tmp$ mmd -i test.img libgnomecanvas
mcasadevall at daybreak:/tmp$ mmd -i test.img libgnome
Long file name "libgnome" already exists.
a)utorename A)utorename-all r)ename R)ename-all
s)kip S)kip-all q)uit (aArRsSq): q
mcasadevall at daybreak:/tmp$ mdir -i test.img
Volume in drive : has no label
Volume Serial Number is 952C-0A14
Directory for ::/
libgnome <DIR> 2009-11-12 13:52 libgnomecanvas
1 file 0 bytes
10 199 040 bytes free
The attached debdiff corrects this behavior by having mtools properly truncate the short filename to libgno~1 in that case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mtools/+bug/481482/+subscriptions
More information about the foundations-bugs
mailing list