mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3217] --private creates empty dirs on $HOME #2016
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#2016
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 @aleprovencio on GitHub (Feb 10, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3217
Hello,
even though running something like
firejail --private=/home/aleprovencio/sandbox/ electrumwill correctly use the private directory, it also creates an empty/home/aleprovencio/.electrumwhich will remain after the application closes.Is this normal behavior? Is there a way to prevent it?
@ghost commented on GitHub (Feb 11, 2020):
It is 'normal' behavior yes, because of the mkdir ${HOME}/.electrum in the default profile.
You could try adding
ignore mkdir ${HOME}/.electrumin a ~/.config/firejail/electrum.local file. Alternatively you could copy electrum.profile from /etc/firejail into ~/.config/firejail/electrum.profile and comment that line out. Just remember that future firejail updates might bring changes to the defaults and 'break' your workaround.@aleprovencio commented on GitHub (Feb 11, 2020):
That's awesome, thank you
@rusty-snake commented on GitHub (Feb 11, 2020):
#903