this post was submitted on 02 May 2024
1104 points (98.5% liked)
Technology
59657 readers
2650 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think you're mistaken there.
Wine is a vanilla Linux executable that runs as the user who launched it. The Windows program it runs thus also runs under that user. That's possible because Wine doesn't do anything system-wide (like intercepting calls or anything), it already gave the process its own version of i.e.
LoadLibrary()
(the Windows API function to load a DLL) and can happily remap any loaded DLL to Wine's reimplementation of said DLL as needed.Here are, for example, the processes created when I run Paint Shop Pro on my system (the leftmost column indicates the user each process is running as):
Also, some advice from WineHQ:
I guess I'm wrong than :)
I'm just saying what my experience was with Wine a while ago and what all my Linux friends tell me. But I guess things changed! Awesome!
Did you know you can edit your posts? Could be helpful for other readers since you were incorrectly posting in several messages that wine needs root access.
Check, will do! Good point :)