http://bugs.winehq.org/show_bug.cgi?id=10324
--- Comment #18 from Austin English austinenglish@gmail.com 2008-03-21 14:24:57 --- With a few patches by Alexandre, this is mostly fixed. For example (these are all in wine 0.9.58):
$ rm -rf ~/.wine $ sudo ~/wine-git/wine notepad wine: '/home/austin' is not owned by you, refusing to create a configuration directory there
$ rm -rf ~/.wine $ wineprefixcreate $ sudo ~/wine-git/wine notepad wine: /home/austin/.wine is not owned by you
and if I login as root (not recommended, obviously, but power users may want to for some reason). # wineprefixcreate /root/.wine updated successfully. # rm -rf ~/.wine # wine notepad wine: creating configuration directory '/root/.wine'... wine: '/root/.wine' created successfully.
However, there's still one issue: $ rm -rf ~/.wine $ sudo ~/wine-git/tools/wineprefixcreate Could not load Mozilla. HTML rendering will be disabled. /home/austin/.wine updated successfully. $ sudo ~/wine-git/wine notepad
Still works fine. Not sure if that was by intention or not (I have the feeling it wasn't).