mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2820] fcopy size limit is not adjustable #1767
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#1767
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 @maxhaslbeck on GitHub (Jul 2, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2820
hi,
I add an folder to private-home that happens to be bigger than 500MB in
i get the error message
is there a reason for the size limit in fcopy? can I increase it easily?
are large files in the private-home discouraged?
Is there a simple workaround to get MYFOLDER available within the jail?
cheers,
max
@rusty-snake commented on GitHub (Jul 2, 2019):
limit is set here
Becauce the fiels are copied, there are large performace losing while starting the programm.
I recommend to use
whitelistandoverlayfs-tmpfsinstead ofprivate-home, because it is faster.@Vincent43 commented on GitHub (Jul 2, 2019):
Unlikeprivate-home,overlayfs-tmpfsisn't persistent. More equivalent option isoverlay-namedbut we have reports that it may be broken in recent kernels.@rusty-snake commented on GitHub (Jul 2, 2019):
@Vincent43 commented on GitHub (Jul 3, 2019):
@rusty-snake you are right, I confused
--private-home=with--private=, the latter one is persistent, sorry.@netblue30 commented on GitHub (Jul 4, 2019):
@maxhaslbeck
Load the latest from mainline and in /etc/firejail/firejail.config set file-copy-limit to whatever you need.
The files get copied in a temporary filesystem in RAM, and if you run out of memory the kernel will start swapping - this is why we put a limit on it.