mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3731] Is it possible through firejail to make available what the launched user is not available? #2355
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#2355
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 @13ilya-old on GitHub (Nov 7, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3731
Is it possible through firejail to make available what the launched user is not available?
The idea is to protect the profile with all firefox passwords "~ / .mozilla" from itself and any scripts and programs running from my user, but if I run firefox through firejail (suid is available) then firefox could access my profile which I do not have.
@13ilya-old commented on GitHub (Nov 7, 2020):
A script immediately comes to mind that then the script can create a config and access any file on the computer.
But you can restrict such an option or so that it is only in /etc, or the configuration file containing such an option must be owned by root with privileges no higher than 0644, otherwise it is ignored or the config is completely rejected.
@rusty-snake commented on GitHub (Nov 7, 2020):
You could use firejail as login-shell and add such blacklist. You would then need a program outside this user-sandbox to start firefox. However, wayland does not use a shell and systemd/logind too IIRC.
I think SELinux would be good for that.
@13ilya-old commented on GitHub (Nov 7, 2020):
Thank you, I see.