mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6046] Cannot whitelist ${RUNUSER}/gnupg #3166
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#3166
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 @OneOfOne on GitHub (Oct 9, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6046
Description
I can't whitelist
${RUNUSER}/gnupg.Steps to Reproduce
Steps to reproduce the behavior
LC_ALL=C firejail --profile=bug --whitelist=/run/user/1000/gnupg ls -lah /run/user/1000/gnupgls: cannot open directory '/run/user/1000/gnupg': Permission deniedExpected behavior
to be able to see the contents of the dir.
Actual behavior
What actually happened
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin aterminal?
Nothing, still shows permission denied.
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
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@ghost commented on GitHub (Oct 10, 2023):
That would only make sense if there was a
blacklist ${RUNUSER}/gnupg, which there isn't.${RUNUSER}/gnupg(and ${RUNUSER}/systemd) are consideredspecialpaths by Firejail. A feature (introduced in 0.9.46):84ade11cbe/RELNOTES (L662)You need
writable-run-user:84ade11cbe/src/man/firejail.1.in (L3116-L3117)@OneOfOne commented on GitHub (Oct 10, 2023):
Thank you, that worked.