mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4623] firefox: cannot access /proc/self/map_files: Permission denied #2729
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#2729
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 @muziker on GitHub (Oct 19, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4623
Description
It's less of a bug, more of wondering why firejail does this with firefox
Steps to Reproduce
ls /proc/pidof all instances of firefoxcd /proc/pidof a firefox instance as userExpected behavior
The directory is listed as user:user as the owner and group owner. An ls should show all mapped files
Actual behavior
It does not allow the user which started firejail firefox to list all the mapped files
Behavior without a profile
Starting firefox manually allows listing of the mapped files
Additional context
When using firejail to start firefox, to check outgoing socket connects, an lsof -i is used to show active connects. However lsof -i does not work when used together with firejail. Looking into /proc shows namespace isolation stops proper output of lsof -i, and related directories like the map_files are not readable by the user.
Environment
Ubuntu 20.04 , firefox 93.0 from repo, firejail 0.9.62 from repo.
@rusty-snake commented on GitHub (Mar 21, 2022):
ping, there's a discussion in #5035.