How do I properly sandbox Wine with Firejail?
Asked by
TechieGamer83
I'm having trouble with sandboxing Wine using Firejail. I've set up a Firejail profile for Wine, which includes directives to limit access to various directories and to drop capabilities. However, when I run the command `winecfg` and try to install a .msi file, I can still see the entire system rather than just the whitelisted directories. I'm not sure what I'm doing wrong or how to fix this. Any help would be appreciated!
Answers
To ensure Firejail is working properly, you can run Wine with verbose logging. This might give you clues about what files or directories Wine is trying to access that are outside of your specified whitelists. Consider testing with simpler commands first to verify that sandboxing behaves as expected.
Reply to this answer
When youโre using a file manager in Wine, it might have access to the whole system, even if Wine is sandboxed. The sandbox restricts what Wine itself can do, but the file manager interface may not fully isolate from your system. You can try checking your Firejail settings again or consult the logs to see if there's any indication of what might be going wrong.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions