mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2942] tar profile needs firejail in private-bin for xz support #1834
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 6, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2942
Due to profile inheritance the tar profile fails when handling tar.xz archives, because it can't find the firejail command:
$ cat "${HOME}/bin/xz"
$ grep private-bin /etc/firejail/tar.profile
private-bin bash,bzip2,compress,gtar,gzip,lbzip2,lzip,lzma,lzop,sh,tar,xz$ firejail /usr/bin/tar -xJf data.tar.xz -C .
/home/glitsj16/bin/xz: line 18: firejail: command not foundWe need to add
firejailtoprivate-bin:$ firejail --private-bin=firejail /usr/bin/tar -xJf data.tar.xz -C .
-- no output, all good --