Just got Wine 1.1.13 on Ubuntu 8.10 tried to map D: to my Windows partition /dev/sda5 /media/DATA but Wine wouldn't keep my choice and reverts to /media/cdrom0. Found out that permissions for ~/.wine/dosdevices/d: were root only and couldn't change them. So I deleted d: & d:: and made new symbolic links $ sudo rm -r /home/me/.wine/dosdevices/d* $ ln -s /media/DATA /home/me/.wine/dosdevices/d: $ ln -s /dev/sda5 /home/me/.wine/dosdevices/d:: which fixed my problem. Is this a bug as I never had this problem before?
On Thu, Jan 29, 2009 at 10:56 AM, samclam <wineforum-user at winehq.org> wrote:> Just got Wine 1.1.13 on Ubuntu 8.10 tried to map D: to my Windows partition /dev/sda5 /media/DATA but Wine wouldn't keep my choice and reverts to /media/cdrom0.Why are you mounting that drive? To read data, or to run programs from it? Former, okay, later, don't do it.> Found out that permissions for ~/.wine/dosdevices/d: were root only and couldn't change them. So I deleted d: & d:: and made new symbolic linksDid you run wine as sudo/root?> $ sudo rm -r /home/me/.wine/dosdevices/d* > $ ln -s /media/DATA /home/me/.wine/dosdevices/d: > $ ln -s /dev/sda5 /home/me/.wine/dosdevices/d:: > > which fixed my problem. > > Is this a bug as I never had this problem before?$5 says you've run wine as root/sudo, in which case, not a bug, but misconfiguration. -- -Austin
samclam wrote:> Just got Wine 1.1.13 on Ubuntu 8.10 tried to map D: to my Windows partition /dev/sda5 /media/DATA but Wine wouldn't keep my choice and reverts to /media/cdrom0. > > Found out that permissions for ~/.wine/dosdevices/d: were root only and couldn't change them. So I deleted d: & d:: and made new symbolic links > > $ sudo rm -r /home/me/.wine/dosdevices/d* > $ ln -s /media/DATA /home/me/.wine/dosdevices/d: > $ ln -s /dev/sda5 /home/me/.wine/dosdevices/d:: > > >Austin was a much nicer than I'm going to be: Never, ever run Wine as root or an adminstrative user on Linux/UNIX. All sorts of badness can and will happen. Fix: sudo rm -rf /home/me/.wine Run wine notepad as me. This will recreate the .wine directory. Install all applications that you want to install. There are known issues with several programs and workarounds in the Applications Database. Please take time to read through them. If you run into a problem, such as a program crash, please explore the Bugzilla for previous reports. If none are found for your situation, then please submit one. If you do find an existing report, vote for it. This lets the developers know which problem affects the most users and if resources are available, a fix can be found. Again, NEVER run Wine as root, it leads to problems. James McKenzie