mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4994] disable-xdg.inc weirdness with ${DESKTOP} [mupdf and directory whitelist] #2846
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#2846
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 @ghost on GitHub (Mar 1, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4994
Originally assigned to: @smitsohu on GitHub.
Discussed in https://github.com/netblue30/firejail/discussions/4975
Originally posted by wonbug February 24, 2022
I'm trying to open a PDF file with
mupdfin~/Desktop/I put all these directives into
~/.config/firejail/mupdf.local:Yet when I try to open the file, I get:
Am I missing something obvious?
@ghost commented on GitHub (Mar 1, 2022):
Users are reporting problems with
disable-xdg.incthat might be a bug: https://github.com/netblue30/firejail/discussions/4975#discussioncomment-2269810.@smitsohu commented on GitHub (Mar 3, 2022):
I can reproduce this. Definitely a bug!
@smitsohu commented on GitHub (Mar 3, 2022):
You guys don't have a
~/.config/user-dirs.dirsright?@ghost commented on GitHub (Mar 4, 2022):
As stated in #4975 my ~/Desktop is symlinked to /mnt/foo/bar and I have a one-liner disable-xdg.local containing
blacklist ${DESKTOP}. I do have ~/.config/user-dirs.dirs. The below command runs just fine here and output is exactly the same as without firejail:Curious to hear the OP's and @crocket's answers to your question.
@crocket commented on GitHub (Mar 4, 2022):
I don't have it.
@smitsohu commented on GitHub (Mar 4, 2022):
Adding security label as it is conceivable that this leads to whitelisting a wrong path (only macros). I don't think there are other real life security implications.
@crocket commented on GitHub (Jun 21, 2022):
Is this really fixed?
@smitsohu commented on GitHub (Jul 12, 2022):
@crocket I was under the impression.
Do you still run into this issue? If yes, there is a second problem lurking (and we should reopen).
@crocket commented on GitHub (Jul 12, 2022):
I tested it. The issue seems fixed.