Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[Midnight Commander] #4494: tar VFS problem in 4.8.30

7 views
Skip to first unread message

Ticket System

unread,
Aug 20, 2023, 3:38:25 AM8/20/23
to tool...@tuta.io, mc-...@googlegroups.com
#4494: tar VFS problem in 4.8.30
--------------------------------+-------------------------------
Reporter: Toolybird | Type: defect
Status: new | Priority: major
Milestone: Future Releases | Component: mc-core
Version: 4.8.30 | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+-------------------------------
There is an odd problem with tar VFS in 4.8.30. The problem does not
exhibit in 4.8.29. I am on Arch Linux and at least 1 other user can
reproduce the issue.

Steps to reproduce:

1. curl -O
https://geo.mirror.pkgbuild.com/core/os/x86_64/gcc-13.2.1-3-x86_64.pkg.tar.zst
2. open the file "gcc-13.2.1-3-x86_64.pkg.tar.zst" in mc
3. navigate to /usr/bin inside the archive
4. copy (F5) the file "gcc" somewhere e.g. /tmp
5. outside of mc, execute `file /tmp/gcc'

It will show the file type as:

"POSIX tar archive"

When of course it should be:

"ELF 64-bit LSB executable"

I haven't git bisected (yet) but I do note some new tar functionality
mentioned in the 4.8.30 release notes.

Thanks

--
Ticket URL: <http://www.midnight-commander.org/ticket/4494>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Aug 20, 2023, 4:36:37 AM8/20/23
to tool...@tuta.io, mc-...@googlegroups.com
#4494: tar VFS problem in 4.8.30
--------------------------+---------------------------------------
Reporter: Toolybird | Owner:

Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-core | Version: 4.8.30
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by Toolybird):

> I haven't git bisected (yet)

Unfortunately the source is not git bisectable. It bombed out with a
compilation failure at:

4158824d70b9d298b2e02c202ddfc77f7fd5dd82

--
Ticket URL: <http://www.midnight-commander.org/ticket/4494#comment:1>

Ticket System

unread,
Aug 20, 2023, 5:42:10 AM8/20/23
to tool...@tuta.io, mc-...@googlegroups.com
#4494: tar VFS problem in 4.8.30
--------------------------+---------------------------------------
Reporter: Toolybird | Owner:

Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-core | Version: 4.8.30
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by andrew_b):

From `ls -l`:
{{{
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 c++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 g++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 x86_64-pc-linux-gnu-c++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 x86_64-pc-linux-gnu-g++
}}}
These are hardlinks. Support of hard links is broken.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4494#comment:2>

Reply all
Reply to author
Forward
0 new messages