[Wine] Re: Question about Winetricks...

doh123 wineforum-user at winehq.org
Mon Jul 5 18:25:24 CDT 2010


r2rX wrote:
> Hmm....
> 
> Well, until now, when I install WINE and install/uninstall winetricks (in synaptic package manager), the file always ends up in /usr/bin.
> 
> I even replaced the winetricks, in /usr/bin, with another one that had permissions set to my profile, but to no avail.
> 
> Although, the .wine folder IS in my home folder. And when I access /root/, I don't see a .wine folder.
> 
> But I did run winetricks as 'su', so that probably messed things up.
> 
> So, at this point, what is the necessary steps to correct this?
> 
> I'm planning on uninstalling WINE and winetricks completely, then reinstalling wine and manually placing winetricks in my /usr/local/bin folder (with permissions set to my profile) and try again.
> 
> If there's another (or a proper) way of doing it, let me know.
> 
> Thanks for the input guys. This is a mistake I will not make again in the future. :)
> 
> r2rX  :D


using su or sudo runs everything as the root user... you do not EVER need to run Winetricks as root... you should never run Wine as root... you might have to use su/sudo on a Wine source build for the install part that copies files into place, but not for any other part.

Winetricks will run fine from /usr/bin its just not supposed to go there.  If your Winetricks is set to execute, and its in /usr/bin you should be able to just type Winetricks no matter what folder your in and run it.  If your Distro installed it, I wouldn't be surprised if the "Winetricks" in /usr/bin is just a symlink and the real file is along with Wine... but you'd have to check on that yourself.

Its very likely you do not need to reinstall, you can just trash your ~/.wine folder and start over... your Wine install is probably fine, just don't run Winetricks with su or sudo.







More information about the wine-users mailing list