mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3589] Discord wont open when executed outside the pkg manager one #2249
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#2249
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 @YShow on GitHub (Aug 15, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3589
Bug and expected behavior
No profile or disabling firejail
What changed calling
firejail --noprofile PROGRAMin a shell?Program executed fine
What changed calling the program by path=without firejail (check
whereis PROGRAM,firejail --list,stat $programpath)?Program executed fine
Reproduce
Steps to reproduce the behavior:
Run in bash
firejail /home/name/DiscordFolder1.1 Run in bash
firejail --ignore=quiet --noblacklist=/home/yasser/opt/Discord /home/yasser/opt/Discord/DiscordSee error
Archive or directory not foundEnvironment
Linux distribution and version (ie output of
lsb_release -a)Distributor ID: openSUSE
Description: openSUSE Tumbleweed
Release: 20200810
Firejail version (output of
firejail --version)firejail version 0.9.62
Additional context
Since every discord update makes it impossible to use the older version and my distribution doesnt update right away i decided to use the tar.gz provided by discord but i can execute it with firejail anymore
Checklist
find / -name 'firejail' 2>/dev/null/fd firejailto locate profiles ie in/usr/local/etc/firejail/PROGRAM.profile)debug output
output.txt
@bbhtt commented on GitHub (Aug 15, 2020):
I have a different error but
whitelist ${HOME}/optin your profile andfirejail --ignore=quiet /home/korte/opt/Discord/Discordruns... or move theoptin home to Downloads...@YShow commented on GitHub (Aug 15, 2020):
Thank you, i tried with the flag '--whitelist' and now it opens normal, but shouldn't the noblacklist and whitelist basically do the same thing?
@bbhtt commented on GitHub (Aug 15, 2020):
No they are different, you can take a look at
man firejail-profileto know how. You don't need to do a noblacklist since there is no blacklist "${HOME}/opt."@YShow commented on GitHub (Aug 15, 2020):
Thank you, ill take a look, im closing this issue since its working now