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