mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5428] QOwnNotes: cannot access whitelisted external media directory (disable-mnt) #2990
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#2990
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 @mYnDstrEAm on GitHub (Oct 18, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5428
Description
Maybe it's just a trivial thing: I have this in
/home/username/.config/firejail/QOwnNotes.local:Edit: it was as trivial as adding
ignore disable-mnt, see the comment below.When I launch it this is the output (please comment if you spot something that shouldn't be there):
The
net noneis in the profile mainly because of this: https://github.com/pbek/QOwnNotes/issues/2602 (it would be great if firejail could prompt the user about whether or not to allow an application Internet access whenever it is first run, but that's a separate issue).The last few errors about PulseAudio are repeated many times.
I think it has to do with veracrypt: Wayland support in Debian11/KDE is not good so it often crashes and whenever the session is restored VeraCrypt is missing from the traybar and also can't be launched as it just shows a messagebox "VeraCrypt is already running". If anybody knows a solution to this problem: the two questions about this are here: https://unix.stackexchange.com/questions/676989/how-to-circumvent-veracrypt-is-already-running and https://unix.stackexchange.com/q/603777/233262 It may have to do with the PulseAudio messages. I'll check whether QOwnNotes can access the directories when I reboot.
Steps to Reproduce
Steps to reproduce the behavior
LC_ALL=C firejail QOwnNoteswith the above QOwnNotes.localExpected behavior
It can access the veracrypt directory
Actual behavior
It can't access the whitelisted veracrypt directory
Behavior without a profile
Additional context
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
@mYnDstrEAm commented on GitHub (Oct 18, 2022):
Tried after rebooting but had the same problem: it was solved by adding
ignore disable-mntto the .local profile.Shouldn't
disable-mntbe added to the QOwnNotes profile? And is there already info about how to undo / override settings viaignorein .local profiles in the docs (man page)?Moreover, when trying to open a note in the file explorer with "Show note in file manager" it doesn't open Dolphin and has this in the console:
Warning: Unable to detect a launcher for 'file:///home/username/dir/Notebooks' ((null):0, (null))