LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine File Locking (https://www.linuxquestions.org/questions/linux-software-2/wine-file-locking-144883/)

MurrayL 02-11-2004 12:18 PM

Wine File Locking
 
I am trying to run a windows program (shared on a samba file server), symultaionsly on multiple window and linux/wine workstations.

I have no problems running it symultaniously on windows machines.
and no problems running it symulationsly on Linux machines.

But whenever I try to run it on a linux AND a windows machine together, the windows one bombs out giving a "File is in use by another program" error.

I presume this is due to the different ways Wine and windows lock files?
Does anyone know any details about how it is done on both systems?

Or does anyone have any suggestions as to how I can get around this problem? (preferably without getting rid of the windows machines :))

DrOzz 02-11-2004 12:48 PM

my suggestion is get rid of windows hehe ;-)

but seriously, you can plainly see by the error that its a windows problem, and if you did actually attempt to open the same thing with two different windows programs the same would happen ... so since windows "thinks" linux+wine is the "other program" then i personally can't see how you could get around such an issue ....

even if this was a complete windows based problem between two apps it would probably be a challenge in itself to "trick" the program that it was opened by another app. ... then again i don't know what exactly your trying to open, but that comment is a just a general one ...

so overall i personally think your not going to get around this, unless you install the app on your linux box, and install the app on the windows box, and let them have their own copy ....
but again that idea sounds good on paper, but you again didnt' state what app this is, so i don't know if you need both OS's accessing it at the same time cause of real time changes or whatever ...

MurrayL 02-12-2004 01:09 AM

The app is a reading-tutor (Steck-Vaughn's Reading Strategy) that has been running quite happily on a school windows-based network. I was was trying to linux machines to the network when I came across this problem.

The app writes user information (progress/scores etc) to a shared file, so not possible to have different copys for the windows and linux machines.

one idea I had was to download the program locally to the linux machines and then write another program to update the user information on the file server, once the program had finished running. However I don't think this is a paticularly elegant way of doing it and I have no idea how reading strategy stores it's user information.

MurrayL 02-12-2004 03:27 AM

Have finially mangaed to get it working, I have used NFS to share/mount the directory under linux rather than Samba. and everything started woirking properly.

It seems the problem was with Samba, so I guess windows is redeemed :)


All times are GMT -5. The time now is 05:48 AM.