How to configure exceptions for blacklists in firejail #6572
Unanswered
zhangvv123
asked this question in
Q&A
Replies: 1 comment
-
Either use
Both do not fit 100% |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are many folders user1, user2, user3... in my directory /data/debug/sandbox/.
Users can enter any python script in the front end. I hope that the user's script can only access files in his own user directory, and not allow access to other directories.
I see that the official document does not support blacklist+noblacklist. Firejail Profiles
noblacklist ~/Documents/presentations blacklist ~/Documents: does not work
How can I use firejail to implement my feature?
Ubuntu 20.04.5 LTS, The back end Service uses the same linux user to execute scripts. If the user executes /data/debug/sandbox/user1/a.py, I hope that a.py can only read and write /data/debug/sandbox/user1 and /data/debug/sandbox/script, and other folders are not accessible
I have use blacklist+noblacklist, but not work
cd /data/debug/sandbox/wei firejail --profile=wei.profile /bin/bash start.sh
Beta Was this translation helpful? Give feedback.
All reactions