http://bugs.winehq.org/show_bug.cgi?id=34529
Bug #: 34529 Summary: Game attempts to create and read from root Z:\ drive instead of C:\ (c_drive) directory. Product: Wine Version: 1.7.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: nemstar@zoho.com Classification: Unclassified
When running the PC version of the game Shadowgun: Deadzone (http://www.madfingergames.com/deadzone/) which is free to download and play, I encounter a problem. The game is attempting to write to the root directory which is the Z:\ drive by default in wine. It attempts to create a directory named /users/<player name> with data files that pertain to the game. I know this because I set up a test bed and used root and the directory /users/<player name> and files within it were created successfully and the game ran as intended.
If the Z:\ drive is removed using winecfg (as none root user) and the file is placed or created in ~/.wine/c_drive/users/<player name>, then the game will read the correct file on the C: drive and run as intended. If the Z:\ drive is re-enabled, then the game will try to read from the root file system on Z: and can not find /user/<player name> so it will not connect to a match or save settings. This is the case when ran as any user.
Obviously the game should not be trying to create a new directory under C:\users in any circumstance, or as Z:\users if root is mounted as Z:.