mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4753] Allow running firecfg as non-root #2770
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#2770
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 @WhyNotHugo on GitHub (Dec 8, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4753
Is your feature request related to a problem? Please describe.
firecfgcreates per-user overrides for desktop files which point to a hardcoded binary in/usr/bin/.I'd like non-sudo users to be able to run
firecfgso as to create these symlinks for themselves too.Describe the solution you'd like
Allow running
firecfgas non-root. This won't touch/usr/local/bin, but only write the per-user desktop overrides. Might make sense to require an extra flag to avoid accidentally running it when someone intends to usesudo firecfg.Describe alternatives you've considered
Have
firecfgmutate files in/usr/share/applications/. Should work, but I'm personally reluctant of mutating package-owned files. I'm sure many others would have an issue with this too.There's, regrettably, no local overrides for desktop files (e.g.: I don't think
/usr/local/share/applicationsis a thing).Additional context
Using
sudo firecfgworks, but it needs to be run by each user, which means each local users needs to havesudopermissions, which isn't always viable.@rusty-snake commented on GitHub (Dec 8, 2021):
Could you describe the difference to
firecfg --bindir=$HOME/.local/binandfirecfg --fix?@WhyNotHugo commented on GitHub (Dec 8, 2021):
Sorry,
firecfg --fixseems to be exactly what I was looking for, not sure how I misinterpreted that (I swear I just went through the whole man page!).