http://bugs.winehq.org/show_bug.cgi?id=17337
Summary: Prevent running as root Product: Wine Version: 1.1.14 Platform: PC URL: http://www.winehq.org/pipermail/wine-devel/2009- February/072843.html OS/Version: Linux Status: NEW Keywords: download, source Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Been tried a few times, need to make it harder to run as root, but not disabled. Alexandre proposed: No, warning message boxes are just as useless, users have been conditioned by MS to click through without reading.
If you really want to prevent users from running as root you have to refuse to create the prefix and abort, and then make them jump through hoops to create it manually, by running wineboot explicitly or something like that.
See this thread for my most recent patch, which started this discussion: http://www.winehq.org/pipermail/wine-devel/2009-February/072843.html
Filing a bug since I'm not sure when I'll be able to work on this.