Strange problem with writing files from wine

Pavel Troller patrol at sinus.cz
Wed Sep 7 00:12:59 CDT 2005


Hi!
  I have problems with writing files from wine (today's CVS). Typical example
is word95, which always writes something like:

Cannot access folder "F:\filename.doc
": unaccessible or protected by password

(in my local language, so it may be inaccurate).
There is a small problem with this strange indentation (that the second double
quote is on a next line, but it is not fatal. More fatal is that this dialog
even occurs and the file cannot be written.
I've created a tracefile with +file and I think I've found the problem.
At the moment of attempt to write (in this example, F:\brumbal.doc), there
appears:
trace:file:CreateFileW L"\\\\.\\F:" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x0
trace:file:RtlDosPathNameToNtPathName_U (L"\\\\.\\F:",0x7fc8975c,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"\\\\.\\F:" 520 0x7fc89508 (nil))
trace:file:get_dos_device L"F:" -> "/dev/hdb1"
warn:file:CreateFileW Unable to create file L"\\\\.\\F:" (status c0000022)
trace:file:CreateFileW returning 0xffffffff
trace:file:RtlDosPathNameToNtPathName_U (L"F:\\",0x7fc89744,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"F:\\" 520 0x7fc89508 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\F:\\" -> "/home/patrol/.wine/dosdevices/f:/"
trace:file:GetFileAttributesW L"F:\\brumbal.doc\r\n"
trace:file:RtlDosPathNameToNtPathName_U (L"F:\\brumbal.doc\r\n",0x7fc8aae4,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"F:\\brumbal.doc\r\n" 520 0x7fc8a8b0 (nil))
trace:file:CreateFileW L"\\\\.\\F:" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE  creation 3 attributes 0x0
trace:file:RtlDosPathNameToNtPathName_U (L"\\\\.\\F:",0x7fc8975c,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"\\\\.\\F:" 520 0x7fc89508 (nil))
trace:file:get_dos_device L"F:" -> "/dev/hdb1"
warn:file:CreateFileW Unable to create file L"\\\\.\\F:" (status c0000022)
trace:file:CreateFileW returning 0xffffffff
trace:file:RtlDosPathNameToNtPathName_U (L"F:\\",0x7fc89744,(nil),(nil))
trace:file:RtlGetFullPathName_U (L"F:\\" 520 0x7fc89508 (nil))
trace:file:wine_nt_to_unix_file_name L"\\??\\F:\\" -> "/home/patrol/.wine/dosdevices/f:/"
patrol at arcus:/opt/samba-dir/Program Files/Microsoft Office/Office$

Why the hell wine is trying to access /dev/hdb1 ? Yes, my home directory is on
it, but I think that such a form of access is not good :-). In my
.wine/dosdevices, there is clearly a line

lrwxrwxrwx  1 patrol users 12 Sep  7 06:50 f: -> /home/patrol

Or am I misinterpreting the log and the failure is caused by something else ?
Otherwise wine is working near to perfect now.
                                With regards, Pavel Troller



More information about the wine-devel mailing list