-
From the command prompt, in the Is there a way to whitelist the current directory, whatever it happens to be at the time of the execution? These still failed with the same error: $ pwd
/home/someotheruser
$ head file.txt # works
$ /usr/bin/head file.txt # works
$ firejail --whitelist=$(pwd) /usr/bin/head file.txt # /usr/bin/head: cannot open 'file.txt'
$ firejail --whitelist=/home/someotheruser /usr/bin/head file.txt # /usr/bin/head: cannot open 'file.txt' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
If you need the home directories of other users, pass
No, because |
Beta Was this translation helpful? Give feedback.
-
Have you tried the |
Beta Was this translation helpful? Give feedback.
-
The underlying problem here seems to be trying to use firejail with programs Programs are unlikely to work properly in firejail without a dedicated profile. As for the original question (whitelisting the current directory), closing as a |
Beta Was this translation helpful? Give feedback.
The underlying problem here seems to be trying to use firejail with programs
that do not have a profile, which results in default.profile being used.
Programs are unlikely to work properly in firejail without a dedicated profile.
As for the original question (whitelisting…