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.