View Full Version : What to do if I ran sudo WINE

September 3rd, 2007, 04:28 AM
I might have run an application with sudo WINE a while ago. I'm not sure, but what should I do just to be safe?

I already ran the following:

sudo rm -rf ~/.wine
rm -rf ~/.wine
deleted my .wine directory (which I believe had already been deleted after running those commands)
uninstalled WINE
uninstalled ies4linux

Anything else I should do?

September 3rd, 2007, 05:53 AM
All you had to do was not use sudo to run it again, deleting and uninstalling everything was really unecessary. If wine created a new .wine directory in root's home folder, then you might want to delete that, but that's about it.

September 3rd, 2007, 05:57 AM
You could have issued a command like sudo chown -R {owner}:{group} .wine. This will change the files' ownership back to you.

September 3rd, 2007, 07:25 AM
Just to put it in simpler terms all you need to do is

sudo chown -R $USER:$USER ~/.wine

Run that as-is (don't replace $USER with your username or anything) and that will do the trick.

September 3rd, 2007, 08:21 AM
If you ran sudo wine <whatever.exe> It would jsut create a .wine folder in /root/.wine deleting that folder would be suficient then just as your user run wine <whatever.exe> and it would create the .wine in your ~

October 15th, 2010, 07:10 PM
My gosh, thank you thank you thank you! I post this to help if some other soul bangs his/her head like I did. Keywords:
- Sony Vaio VGN-FW41ZJ
- with Pioneer BDR-TD01 Blueray writer
- needs firmware update (1.03 from Sony support) to write CD-RW properly
- which only runs from Windows (DOS mode not supported)

sudo chown -R root:root .wine

sudo wine EP0000221604.exe

sudo chown -R $USER:$USER .wine

And now I can finally write CD-RW's with my Vaio!

Thank you thank you thank you.