Asking for a friend

  • Dirt_Owl [comrade/them, they/them]@hexbear.netOP
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    15 days ago

    As I understand it, bottles/wine is a virtual machine, right? So there’s no way anything in the bottle could interact with anything outside of the virtual windows drive it’s created?

    • dannoffs [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      13
      ·
      15 days ago

      Wine and bottles by extension aren’t virtual machines, its a compatibility layer that translates windows system calls into Linux ones. Programs run in wine can interact with files on your system if you run them outside of a prefix. You can think of a prefix as an individual isolated machine that Windows software run in it can’t see out of kind of like a VM but what the software is doing behind it is completely different. It’s almost certainly not going to happen unless you’re being directly attacked, but it is theoretically easier for malware to escape a prefix than a VM.

      The main benefit of prefixes is having multiple different ones that can be tweaked for better compatibility with the game or whatever you’re trying to run. Bottles is just an easy way to manage prefixes.