mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6939] Unable to blacklist file with \ character in filename #3427
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#3427
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 @CCF100 on GitHub (Oct 15, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6939
Description
I'm trying to blacklist a udev device to prevent a program from accessing a specific controller, however, it won't let me blacklist the controller because its device file path contains a "\" character
Steps to Reproduce
@CCF100 commented on GitHub (Oct 15, 2025):
Update: I tried allowing "\" by editing the source code, but now it returns "permission denied" when I try to execute anything with those paths blacklisted...
Here's the patch:
@kmk3 commented on GitHub (Oct 24, 2025):
Basic debugging information is missing; please follow the bug report template:
@kmk3 commented on GitHub (Oct 24, 2025):
Why use that
/run/udev/links/...path instead of just/dev/input/by-id/...?