mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3303] noroot removes all user groups, nogroups redundant #2073
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#2073
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 @neirenoir on GitHub (Mar 27, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3303
I'm not sure if it is intended behaviour, but setting
norootas an option will remove all of the user's groups, regardless of whethernogroupsis present or not. Right now, I had to configure the profile of a program to ignore bothnogroupsandnoroot, but I could have done away ignoring onlynogroups: I need some of my user's groups, but I don't need the program knowing about the existence of users other than mine, including root.Could
norootbe implemented in such a way that it does not overlap withnogroups, so I can set them both independently, or doesnorootnecessarily require the removal of other groups?@rusty-snake commented on GitHub (Mar 28, 2020):
😕 , there are exceptions for tty, audio, video, games.
ec0a097a07/src/firejail/util.c (L63)IMHO the best would be that #2042 also applies to noroot.