mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3801] --get outputs empty file when using --chroot #2403
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#2403
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 @mateuszlewko on GitHub (Dec 9, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3801
Getting file with --get returns empty file when using firejail with --chroot option.
Reproduce
sudo firejail --noprofile --chroot=path_to_some_root_directory --name=main1)main1jail:echo "abcd" > /root/file.txt.sudo firejail --get=main1 /root/file.txt.sudo cat file.text. Output is empty, expected:abcd.Environment
firejail version 0.9.64Additional context
--getworks as expected when not using chroot.Checklist
debug output
@mateuszlewko commented on GitHub (Dec 9, 2020):
It turns out that
--putalso doesn't work with--chroot. This time it simply throws an error.@mateuszlewko commented on GitHub (Dec 10, 2020):
Is that the expected behaviour or is something wrong on my side or is it a bug in firejail?
@rusty-snake commented on GitHub (Dec 11, 2020):
It should be supported IMHO, but maybe it's a technical limitation that IDK. Note, there was #3752 maybe this has fixes it on master?
@mateuszlewko commented on GitHub (Dec 11, 2020):
Getting file is working on firejail version 0.9.65, however,
--putstill doesn't work.