http://bugs.winehq.org/show_bug.cgi?id=425
--- Comment #24 from www.recover.eu info@recover.eu 2009-10-28 05:45:56 --- (In reply to comment #23)
(In reply to comment #22)
Can 'wine notepad' open and save that file?
To answer, wine SEEMS to work, for example notepad can read and write mydoc.txt I presume the problem is from open read/write close file function with protection reading/writing by other user
How is that related to UNC file names? Looks like a simple misconfiguration on your side, permissions related.
(API who is not used by API windows but can be used by professionnal program to enhance speed) EG: if (hf=open(nomfile,O_RDWR|O_BINARY|O_CREAT)==-1) return FFAILURE; idem with flock,locking,lseek ... This code don't work under wine (but work since 15years under win32)
That has nothing to do with UNC, please file a separate bug for it, and attach the source code demonstrating the problem there.
I'm sorry to answered by the negatives because, 1) the same prog function if ln -s pointe to a local folder and don't work if ln -s pointe to a samba mount folder 2) For testing I made this: chmod -R 0777 (beurk :-( ) as well as my local folder than my samba mount point and the folder which is on my server. 3) Other program like Borland C++, Oracle client 7.3.3.2.0 don't work with the same configuration (work if local and don't work if folder is 'distant' and each time they "cannot find file", "read its containt", etc..) 4) For safety, I make 3 times the operation because i wouldn't believe that it was possible that these functionnality don't work... 5) I have made 'bug 20445' than has been considered as duplicate of this one.
If you actually need it, I 'll try to send you a small prog that make the bug if you want but I'll programming it from scratch. Then if you don't need it tell me to avoid me losting time... Don't forget for testing it, you 'll need a samba server and a samba client too.