http://bugs.winehq.org/show_bug.cgi?id=20489
Summary: Borland C++ 5.02 and Oracle-7.3.3.2.0 installer don't work with Network Mapped Drive Product: Wine Version: 1.1.32 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: info@recover.eu
1) Borland C++ 5.02 (the best ide in the 1990)
I have a directory s:\ which is mapped from \myserver\src and its content is all the source code C++
I can see it when I do: wine cmd s: dir
but when bcw.exe (borland c++ 5.02 OK It s an old IDE but we use it) want to compile these code, it doesn't find the file
then I copy/paste locally and then ln -s from /src which content all the codes and then NO PROBLEM bcw compile and link and make the .exe!
It seem that an api use by some (old?) application to read/write file from network drive would be not (yet?) implemented...
for summary if s:\ is ln-s locally BCW find the code and compile it if s:\ is ln-s of a samba links BCW don't find the code
the content of s:\ is STRICTLY the same (and chown/chmod also)
2) Oracle-7.3.3.2.0 (yes it is not the last oracle client ;) ) but we use it when you choose a nt.prd who is in a network mapped drive, it can't read it when you copy/paste locally, it work!
Thank to have read it
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-27 11:39:33 --- You haven't answered in teh bug 425: can 'wine notepad' open and save that file? Why do you create duplicates for the same problem without answering the questions?
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #2 from www.recover.eu info@recover.eu 2009-10-29 06:34:05 --- (In reply to comment #1)
You haven't answered in teh bug 425: can 'wine notepad' open and save that file? Why do you create duplicates for the same problem without answering the questions?
To striclty answered at this question:
wine cmd notepad x:\params.ini can be viewed and can be writing as x:\params2.ini but not in params.ini!
under sh vi /dirve_run/dosdevices/x:/params.ini can be ':wq' to tell that it is not an samba mis-configuration
the params.ini is (chmod) 0777 => then no problem of protection
if x: pointe to a local folder, there is no problem.
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-29 07:00:38 --- Then this is clearly not a Borland C++ specific problem and it appears to be the problem with your configuration. Once you figure out why notepad can't write to the file, the problem most likely will be fixed for Borland C++ as well. A +relay log would be a good start.
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #4 from www.recover.eu info@recover.eu 2009-10-29 08:23:10 --- Created an attachment (id=24425) --> (http://bugs.winehq.org/attachment.cgi?id=24425) +relay log asked
the log file +relay of the code source where the open file function don't work
I removed all unecessary (i think) log before and after and indexed the file by /* KINABLE S */ to be easily put in relation with the source pgm
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #5 from www.recover.eu info@recover.eu 2009-10-29 08:24:22 --- Created an attachment (id=24426) --> (http://bugs.winehq.org/attachment.cgi?id=24426) the corresponding C++ code that make the open don't work
thank for your analyse
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #6 from www.recover.eu info@recover.eu 2009-10-29 08:31:47 --- I also read the wine developper'guide "configurating section" and I don't find what I would be mis-configurate
for network drive x:
smbmount -t cifs \myserver\bin /wine_run/drive_x -o rw,user=xxx,pass=yyy ;) ln -s /wine_run/drive_x /home/user/.wine/dosdevices/x:
chmod -R 0777 /home/user/.wine/dosdevices/ (:-()
i assume that - the 'vi' command can read/write/create/delete a file - wine cmd dir x:\ can show the content of x:\
http://bugs.winehq.org/show_bug.cgi?id=20489
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-29 08:53:39 --- here is where the file is opened 0009:Call KERNEL32.CreateFileA(1e0af8b8 "X:\params.ini",c0000000,00000003,1e0af820,00000004,00000080,00000000) ret=0040ff10 0009:Ret KERNEL32.CreateFileA() retval=ffffffff ret=0040ff10 0009:Call KERNEL32.GetLastError() ret=0040ff1c 0009:Ret KERNEL32.GetLastError() retval=00000005 ret=0040ff1c
CreateFileA("X:\params.ini", GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, OPEN_ALWAYS) fails with ERROR_ACCESS_DENIED.
Try to add +ntdll,+server to +relay to get more details. Please use notepad to simplify debugging, and attach full log, not just some part you think is relevant. If the log is large compress it with 'bzip2 -9'.
http://bugs.winehq.org/show_bug.cgi?id=20489
www.recover.eu info@recover.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from www.recover.eu info@recover.eu 2009-11-09 10:07:48 --- thanks to all!
I found the problem: (with your help)
chmod -R 0777 /home/user/.wine/dosdevices/ (:-()
Don't return any error but do nothing because the drives are mounted... :-(
then when you made correctly the chmod (on the server e.g.), It work !!!
It would be better if mount -t cifs work as 'windows thinking' but it is not a wine's problem.
It remains that the file bDs52f.Dll is not the same as bds52f.dll but it is not a wine's bug too...
then - Network Mapped Drive work - BC 5.02 installer work - Oracle 7.3.3.2.0 don't work but it is just a "registry problem" and not a network mapped drive problem, then a copy/past of the registry keyworks on a windows installed to a wine registry and Oracle Client is working on wine ;-)
http://bugs.winehq.org/show_bug.cgi?id=20489
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |INVALID
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-09 20:56:56 --- Nothing was fixed - invalid configuration.