<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>I'm getting the following error when running Wine. <br></div><div><br></div><div>err:process:init_windows_dirs directory L"C:\\windows" could not be created, error 2<br>err:process:init_windows_dirs directory L"C:\\windows\\system32" could not be created, error 3<br><br>Using the debugger, I think I found where the problem is:</div><div><br></div><div>2140            int fd = open( unix_name, O_RDONLY | O_DIRECTORY );<br>(gdb) p unix_name<br>$25 = 0x4040b2e8 "/data/winehome/dosdevices/c:"<br>(gdb) n<br>2141            if (fd != -1)<br>(gdb) p fd<br>$26 = -1<br>(gdb) where<br>#0  find_file_in_dir (unix_name=0x4040b2e8 "/data/winehome/dosdevices/c:", pos=29, name=0x4040b2c6, length=7, check_case=0, <br>   
 is_win_dir=0x0) at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/directory.c:2141<br>#1  0x80236cf4 in lookup_unix_name (name=0x4040b2c6, name_len=0, buffer=0xbebc45e4, unix_len=295, pos=28, disposition=2, <br>    check_case=0 '\0') at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/directory.c:2759<br>#2  0x80237ad4 in wine_nt_to_unix_file_name (nameW=0xbebc48f8, unix_name_ret=0xbebc4844, disposition=2, check_case=0 '\0')<br>    at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/directory.c:2981<br>#3  0x80237004 in nt_to_unix_file_name_attr (attr=0xbebc4900, unix_name_ret=0xbebc4844, disposition=2)<br>    at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/directory.c:2821<br>#4  0x8023b744 in FILE_CreateFile (handle=0xbebc48ec, access=2147483648, attr=0xbebc4900, io=0xbebc48f0, alloc_size=0x0, <br>    attributes=128, sharing=1, disposition=2, options=33, ea_buffer=0x0,
 ea_length=0)<br>    at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/file.c:125<br>#5  0x8023bd40 in NtCreateFile (handle=0xbebc48ec, access=2147483648, attr=0xbebc4900, io=0xbebc48f0, alloc_size=0x0, <br>    attributes=128, sharing=1, disposition=2, options=33, ea_buffer=0x0, ea_length=0)<br>    at /home/rcruz/sandbox/wine-dev-branch/dlls/ntdll/file.c:271<br>#6  0x8045d210 in ?? ()</div><div><br></div><div>export WINEPREFIX=/data/winehome</div><div><br></div><div>When I look in my $WINEPREFIX directory, I can see that the c: directory is not there</div><div><br></div><div># ls /data/winehome<br>system.reg<br>dosdevices<br>drive_c<br>user.reg<br># ls /data/winehome/dosdevices<br># <br></div><div>How does that c: directory get created and by whom?  I have deleted the $WINEPREFIX several times already to no avail.</div><div><br></div><div>Thanks</div><div>Roger R.
 Cruz<br></div><div><br></div><div># ls /data/winehome<br>system.reg<br>dosdevices<br>drive_c<br>user.reg<br># ls /data/winehome/dosdevices<br># <br></div></div></body></html>