mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1716] Firefox: access ~/Downloads folder if using --private-home #1158
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#1158
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 @damadmai on GitHub (Jan 6, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1716
I'm using
firejail --private-home=.mozilla firefox %u --no-remotefor Firefox. So that my firefox profile, history etc. is not changed but my settings are used.
How to achieve making an directory accessible outside this sandbox like ~/Downloads?
Currently this folder is empty and I it not possible to exchange files with the sandbox.
They are lost on terminating the process because the temporary filesystem is deleted.
I know about
firejail {--ls | --get | --put}but is there a more conveniet way to share a directory?@netblue30 commented on GitHub (Jan 7, 2018):
If you are the only one using the computer, you can create a directory outside your home and configure Firefox to use it as Downloads:
The only thing in Firejail blacklisting files outside the regular Unix file system hierarchy is --apparmor option.
@chiraag-nataraj commented on GitHub (Jul 15, 2018):
@damadmai I actually used to use
private-homebefore but found it tedious for exactly this reason. Nowadays, my regular profile does whatever it does (I have many privacy addons), but I also wrote up a little script to create a temporary firefox profile and copy over specific files/folders (see #2031 for the motivation I had for writing this script). The latest version of the script can be found at firefox.common (you can disable theprivate-libstuff if you so wish, but imo it adds a bit of additional security and should just work OOTB). Note that theprivate-libparts require gen_libraries. If you decide to use the script, please open an issue in that repository if you have problems.