mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #181] profile configuration - path - special character #124
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#124
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 @anarchic-system on GitHub (Dec 1, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/181
While one can use “special” characters in a directory or file name when using
--whitelistor--blacklist[1] or the whitelist or blacklist options in a profile configuration file, I did not find how to use an exclamation mark[2] character in a directory name.I added the following line in my iceweasel.profile
whitelist ~/!downWhen running
firejail --debug iceweaselI get
Error: "~/!down" is an invalid file nameI also tried escaping the ! character, quoting the path, quoting the whole line; does not work.
When trying on the command line with
firejail --debug "--whitelist=~/!down" iceweaselI get
zsh: event not found: downWhen trying on the command line with
firejail --debug "--whitelist=~/\!down" iceweaselI get
Checking filename ~/!down Error: "~/!down" is an invalid filenameUsing a space in the file name is working[3].
Using accents in the file name is working[4].
What am I missing?
[1]-
man firejailis providing the samplefirejail "--blacklist=/home/username/My Virtual Machines"[2]- U+0021 EXCLAMATION MARK / '!'
[3]- Output of
firejail --debug iceweasel:Removed whitelist path: whitelist ~/broap burp[4]- Output of
firejail --debug iceweasel:Removed whitelist path: whitelist ~/Ümlautißéèùça_marche@netblue30 commented on GitHub (Dec 3, 2015):
I'm trying to stay away from special chars in filenames. It is a SUID program, I have to protect it somehow.