I am using wine in Linux to run some Windows applications, but as mentioned here, I want to remove as much as the drive settings in wine as possible so that the Windows applications cannot easily change my files in Linux. Each time I run
winecfg and remove all drives except drive
C: (first image below).
However, sometimes I have USB devices connected to Linux (say under
/mnt), then sometimes when I open
winecfg, it automatically detects the devices and map them into
D: (second image below). How can I stop this behavior? I tried to make
~/.wine/dosdevices unwritable, but this causes
winecfg behave abnormally.