-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firecfg does not work with symlinks (discord.desktop) #4235
Comments
workaround cp /usr/share/applications/discord.desktop ~/.local/share/applications
sed -e "s%/usr/bin/discord%/usr/local/bin/discord%" -i ~/.local/share/applications/discord.desktop |
simpler: sed "s%Exec=/usr/bin/discord%Exec=discord%" /usr/share/applications/discord.desktop > ~/.local/share/applications/discord.desktop |
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! |
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. |
Unfortunately C is no language I would put in a PR myself. |
Fixed, thanks for the bug. If you still have problems, let us know! |
Note: They are added in the order that the issues were fixed/closed. Note2: The issues were found through the following url: https://github.com/netblue30/firejail/issues?q=is%3Aclosed+label%3Abug+-label%3Asecurity+closed%3A%3E2021-06-29+ The date used is the release date of 0.9.66, so in theory the query should return every bug closed after that. Security-related issues are excluded because they will be added separately. Note3: All issues other than netblue30#4328 were fixed before 0.9.68rc1. Relates to netblue30#2758 netblue30#4235 netblue30#4328 netblue30#4387 netblue30#4395 netblue30#4460 netblue30#4467 netblue30#4558 netblue30#4560 netblue30#4586.
In archlinux firecfg doesn't overwrite
/usr/share/applications/discord.desktop
exec field to/usr/local/bin/discord
.This is because the
/usr/share/applications/discord.desktop
is symlink to/opt/discord/discord.desktop
Bug 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.desktop
as well.firejail --list
and 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=PROFILENAME
is used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM
to get english error-messages.browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.The text was updated successfully, but these errors were encountered: