mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2323] Firefox Private Window allowing access to home entire folder in Kubuntu 18.04 #1549
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#1549
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 @SuperSentient on GitHub (Dec 30, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2323
I just noticed that when Firefox is in a private window it allows access to the entire home folder. But this doesn't happen in a new/standard window, I'm using Firejail version 0.9.56. Using standard Firejail profile firejail firefox. But this doesn't happen with the Private Home profile.
Running Kubuntu 18.04.1
@SkewedZeppelin commented on GitHub (Dec 30, 2018):
I cannot reproduce. Exact command used to run along with some output? and also how are you determining that Firefox can access everything?
@SuperSentient commented on GitHub (Dec 31, 2018):
When I try uploading a file to a website for example I can see the whole home folder. But I figured it out it happens when I right click over the panel icon for Firefox and chose either open in a new window or open in a new private window. But when I left click over the icon Firejail works normally. So right clicking either open in a new window or open in a new private window for some reason doesn't open Firefox in Firejail even though I have the icon configured to open Firefox in Firejail.
@rusty-snake commented on GitHub (Dec 31, 2018):
@SuperSentient which distro? which Desktop?
@SkewedZeppelin commented on GitHub (Dec 31, 2018):
Please try this:
then close out of all firefox instances
then start firefox through your launcher
then try to reproduce this issue
@SuperSentient commented on GitHub (Dec 31, 2018):
Good thing I tried that command in Virtualbox because now I cant open Firefox outside of Firejail which is a problem for example if I want to export my Noscript's whitelist I cant export it to the desktop. :(
@ rusty-snake Its Kubuntu 18.04.1 KDE Plasma version 5.12.7 KDE Frameworks version 5.44.0 Qt version 5.9.5 Kernel version 4.15.0-43 generic.
@Fred-Barclay commented on GitHub (Dec 31, 2018):
But can you reproduce the issue after you've run this? 😉 Basically we're trying to figure out if the problem is really with firejail or if it's just that KDE doesn't launch your customised
firejail firefoxcommand when you right-click the icon to launch. I suspect the latter option. If that's the case, the only way that I know of to make sure firefox always launches inside firejail is to first run the command @SkewedZeppelin provided. From then on, firefox will be configured to always launch inside firejail.To revert the command, just remove the symlink and you'll be good to go:
sudo rm /usr/local/bin/firefox(It's the same principle as
firecfg).@rusty-snake commented on GitHub (Jan 1, 2019):
@SuperSentient this is a shortened version of
firefox.dektop, have you changed all threeExeclines or only the first one?@SuperSentient commented on GitHub (Jan 2, 2019):
I didn't make any changes to Firejail I simply installed it and configured the icons to either firejail firefox or firejail --private-home=.mozilla firefox
@SkewedZeppelin commented on GitHub (Jan 2, 2019):
The recommended way to enable firejail for a program is through the symlink invocation feature. This is done by manually creating the symlink like shown above or by running
firecfg --fix && sudo firecfg.It is much more reliable and persistent compared to manually editing .desktop files/launchers/scripts.
If you really want to instead just edit the .desktop file:
@SuperSentient commented on GitHub (Jan 9, 2019):
No thanks I'll just launch Firefox by left clicking it, its not really a major issue for me.
@Fred-Barclay commented on GitHub (Jan 9, 2019):
Ok, closing then. Thanks! 😄