http://bugs.winehq.org/show_bug.cgi?id=12238
Summary: wine chooses wrong home directory Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: hendrik@topoi.pooq.com
Wine failed to find c:\Windows
According to spec, it should have looked for ~hendrik/.wine/fake_windows/Windows. I suspect it actually looked in /home/hendrik/.wine/fake_windows/Windows.
My home directory is /farhome/hendrik, not /home/hendrik.
After I inserted a symbolic link
ln -s /home/hendrik /farhome/hendrik
wine stopped complaining about not finding c:\Windows.
I suspect that Wine assumes home directories are in /home instead of looking in the appropriate configuration file, such as /etc/passwd. (There ought to be a system call you can use to find this information instead of grotting around in /etc/passwd. Is there?)
-- hendrik