You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not bypass them because it can not "bypass" them. You can not protect firejail from firejail with firejail.
So what's going on
nowhitelist ${HOME}/test
mkdir ${HOME}/test
Firejail sees two commands, one asking to ignore any following whitelist ${HOME}/test command. And one command asking to create a directory at ${HOME}/test.
One could say mkdir should respect a nowhitelist like it should for --private= (which has a bug and does not respect --private=). But see the next.
blacklist ${HOME}/test
mkdir ${HOME}/test
Firejail sees two commands, one asking to blackist ${HOME}/testif it exists. And one command asking to create a directory at ${HOME}/test.
While this order isn't very useful, flipping these two lines can make a different between a sandbox escape and blocking it.
Well how would I avoid calling mkdir in a default profile?
For example the default neomutt profile creates 6 trash directories in the home directory that are never used on my system
The mkdir command in a profile file bypasses nowhitelist and blacklist override
Example:
test.local
test.profile
mkdir ${HOME}/test
The text was updated successfully, but these errors were encountered: