Mailinglist Archive: opensuse-factory (649 mails)

< Previous Next >
Re: [opensuse-factory] upstream fix only in next version: file openSUSE bug anyway? Midnight Commander tar handling
On Sat, 12 Aug 2017 23:47:04 -0400
Felix Miata wrote:

Mailing list thread starter:
https://mail.gnome.org/archives/mc/2017-August/msg00000.html

This thread is about extracting files from a tar archive with mc.
The handling of tar archives by mc has a limitation of file names
(including path) to 100 characters which is still present in the TW
version.
Therefore extraction of possibly deeply nested archives as described in
the referenced thread is risky as long file names could be truncated
without warning.

There is an openSUSE bug for this limitation providing some background
and links to an mc ticket:
https://bugzilla.opensuse.org/show_bug.cgi?id=836558

This bugzilla also contains an extfs module which can be used in
replacement of the mc internal utar handling of tar files which does
not have the limitation to 100 characters and according to my short
test also preserves the time stamps upon extraction.

I think
https://bugzilla.opensuse.org/show_bug.cgi?id=1024931
is a duplicate to this.

In order to use this replacement for the logged in user:
1) store the untar attachment (it is a shell script) from the mentioned
bugzilla as ~/.local/share/mc/extfs.d/untar

2) if you do not yet have the file ~/.config/mc/mc.ext
copy /etc/mc/mc.ext to ~/.config/mc/mc.ext

3) in the file ~/.config/mc/mc.ext
replace all occurrences of "utar" by "untar"

4) restart mc

Now mc should use the replacement in order to handle tar files. I am
using this replacement for some years now and it works fine for me.

Regards,
Dieter

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups
References