https://bugs.winehq.org/show_bug.cgi?id=56114
Bug ID: 56114 Summary: winecfg allows a cdrom drive path to be inside of the WINEPREFIX Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cedric.dewijs@eclipso.eu Distribution: ---
To reproduce: $ rm -rf ~/wine-tmp/ $ mkdir ~/wine-tmp $ export WINEPREFIX=~/wine-tmp $ cd ~/wine-tmp $ mkdir cd $ touch cd/file.txt $ winecfg choose drives -> add -> D: -> OK now a new drive is added with / as the path copy and paste this into the path and click ok: ~/wine-tmp/cd/ $ ls ~/wine-tmp/dosdevices/d: /home/cedric/wine-tmp/dosdevices/d: $ cd ~/wine-tmp/dosdevices/d: bash: cd: /home/cedric/wine-tmp/dosdevices/d:: No such file or directory
Wine should refuse to accept a path for the CD when it's in the WINEPREFIX Bonus points for presenting a prompt to the user explaining the limitation.
See this bug for more discussion on the subject: https://bugs.winehq.org/show_bug.cgi?id=56091
$ wine --version wine-9.0-rc3