Ticket #4219 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

USE_FILE_CMD: seccomp Bad system call

Reported by: anton_kg Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.8.25
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


Hi, I'm getting and error message when trying to "enter" into zip archive.
The error is the following:
file -L -z xxx.zip
xxx.zip: Bad system call

The call is here:
"file -z"

A quick workaround is to add "-S" option:

-S, --no-sandbox

On systems where libseccomp (https://github.com/seccomp/libseccomp) is available, the -S flag
disables sandboxing which is enabled by default. This option is needed for file to execute ex‐
ternal decompressing programs, i.e. when the -z flag is specified and the built-in decompressors
are not available. On systems where sandboxing is not available, this option has no effect.

You might know a better solution

Change History

comment:1 Changed 2 years ago by andrew_b

comment:2 Changed 2 years ago by andrew_b


comment:3 Changed 2 years ago by anton_kg

sorry, I did not receive a notification about your comment. It seems you have fixed it, see ticket #4180 too.

Please close the ticket (this ticketing system is really confusing, looks like a software from 90x).

comment:4 Changed 2 years ago by andrew_b

  • Status changed from new to closed
  • Version changed from master to 4.8.25
  • Resolution set to invalid
  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.