385
Some slight regret (lemmy.world)
submitted 2 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 37 points 2 weeks ago

I hope WINEPREFIX is thick enough for a condom.

[-] [email protected] 38 points 2 weeks ago
[-] [email protected] 11 points 2 weeks ago

Run wine with sudo. Yolo

[-] [email protected] 5 points 2 weeks ago

Not if I don't give it access to my Linux files

[-] [email protected] 1 points 2 weeks ago

Not exactly true but for simple malware yeah

[-] [email protected] 12 points 2 weeks ago

I think wine maps at least your home directory into prefix, so your data would be in danger.

[-] [email protected] 13 points 2 weeks ago* (last edited 2 weeks ago)

yup, home (or was it root actually?) is commonly mapped to the Z: drive, and it's writeable too. Wine isn't meant to be a security layer.

[-] [email protected] 4 points 2 weeks ago

Wine, in Bottles, in Flatpak. Worst IKEA experience I've had.

[-] [email protected] 1 points 2 weeks ago

is that some kind of newfangled swedish fetish?

[-] [email protected] 4 points 2 weeks ago

There's a Bubblewrap wrapper for wine: https://github.com/hartwork/sandwine

[-] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

Windows applications can still access the Linux functionality when running under Wine, though of course that has to have been purposefully coded in.

However you can run wine itself inside something like firejail to properly sandbox the whole thing - I have Lutris in my Linux gaming machine configured to do just that for all games by default (my firejail config even blocks networking).

[-] [email protected] 2 points 2 weeks ago

How do you configure that by default?

[-] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

There is a launch configuration option under each game (under System Options tabs, if I'm not mistaken) called "command prefix" were you can put the firejail stuff (so if you put just "firejail -someoption" there your game gets launched with, for example "firejail -someoption wine ...") or whatever other sandboxing command you want to use (such as bubblewrap).

In the main Lutris options, there's a section with the default values for all those launch options for games, so if you put it in the "command prefix" there, all games get launched with that command prefix unless you override it in that game's launch options (so, for example, if you're blocking networking for all games but want to run a game for multiplayer over the net, you override the sandboxing wrapper options in that game's launch options specifically, which won't affect any other game).

this post was submitted on 11 Jun 2025
385 points (97.8% liked)

Gaming

5218 readers
344 users here now

!gaming is a community for gaming noobs through gaming aficionados. Unlike !games, we don’t take ourselves quite as serious. Shitposts and memes are welcome.

Our Rules:

1. Keep it civil.


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only.


2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry.


I should not need to explain this one.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Try not to repost anything posted within the past month.


Beyond that, go for it. Not everyone is on every site all the time.



Logo uses joystick by liftarn

founded 2 years ago
MODERATORS