mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4235] firecfg does not work with symlinks (discord.desktop) #2588
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#2588
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 @sak96 on GitHub (May 3, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4235
In archlinux firecfg doesn't overwrite
/usr/share/applications/discord.desktopexec field to/usr/local/bin/discord.This is because the
/usr/share/applications/discord.desktopis symlink to/opt/discord/discord.desktopBug and expected behavior
No profile and disabling firejail
N/A
Reproduce
Steps to reproduce the behavior:
i3-dmenu-desktop --dmenu "echo Discord". you should be able to usexdg-open /usr/share/applications/discord.desktopas well.firejail --listand find discord is not runningEnvironment
Linux distribution and version Arch linux
LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/aFirejail version == 0.9.64.4
Additional context
/usr/local/bin/discord./usr/bin/discord.Checklist
https://github.com/netblue30/firejail/issues/1139)--profile=PROFILENAMEis used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.@sak96 commented on GitHub (May 3, 2021):
workaround
@rusty-snake commented on GitHub (May 3, 2021):
simpler:
@ghost commented on GitHub (Sep 17, 2021):
Is there anything new on a fix for this being implemented. The issue persists. The workarounds posted here work, however a fix would be greatly preferable!
@rusty-snake commented on GitHub (Sep 17, 2021):
I think desktop_files.c is the place for this and also for #4018 and #2624. The last commit (ignoring update copyright commits) to it was on 2 Apr 2019 (in a time before masks and "Querdenken"). Personally I give up firecfg.
@ghost commented on GitHub (Sep 17, 2021):
Unfortunately C is no language I would put in a PR myself.
@netblue30 commented on GitHub (Dec 21, 2021):
Fixed, thanks for the bug. If you still have problems, let us know!