Run Windows program in Wine as administrator
As far as Windows programs are concerned, Wine runs with Windows administrator rights by default when it is started by an user with ordinary permissions (not root permissions). Never run Wine as root using sudo
because it gives files in your ~/.wine
directory root permissions that can be a security threat to your OS. By doing so you are giving Windows files in the ~/.wine
directory root permissions to make changes to the Ubuntu operating system. If you ran Wine as root, remove your entire ~/.wine
directory. Even if you remove the ~/.wine
directory, running Wine with sudo
may have done permanent damage to your operating system that can only be repaired by reinstalling the operating system.
Related videos on Youtube
Guinevere Ellen Mayberry
Updated on September 18, 2022Comments
-
Guinevere Ellen Mayberry over 1 year
I am attempting to run the Pokemon Dawn of Darkness game in Ubuntu 16.04 through Wine, but there's a part of the program that Wine does not like (a file called AsyncFile.exe). I can remove that file and the game will still run, but the frame rate will be significantly decreased. I read one page that suggested running it as administrator would fix the problem on Windows, but I can't figure out how to do this on Linux (if it's even possible).
-
C.R. Box over 2 yearsbut what kind of damage? bc i tried sudo before reading this
-
-
karel about 7 yearsIn case the AsyncFile.exe file came from PDoD, Pokemon: Dawn of Darkness has a silver rating at WineHQ application database when running in Wine 1.7, so if you are using Wine 1.6 upgrading to Wine 1.7 or later might help. How To Install Wine 2.0 Stable On Ubuntu 16.10 & Ubuntu 16.04
-
Guinevere Ellen Mayberry about 7 yearsit did come from PDoD and I am using version 1.9.14 (2.1 wouldn't even open the game) and I knew running wine as root would be bad so no I didn't do anything that stupid lol. Thanks for the info karel