Hi,
I have an old dbase application. The application works well under wine.
But if I use it with several users, the database is damaged.
File locks do not work properly.
If I start the application several time with one uid, the database is ok.
Is there a way, to get proper file locks with wine?
Thanks for any hints
tilo
Multiuser database application / file locks
-
- Newbie
- Posts: 2
- Joined: Tue Mar 08, 2011 1:30 pm
Re: Multiuser database application / file locks
Yes, run it under same user same wineprefix. Wine can't support proper file locking between different users/wineprefixes. Wine is a single user application.tilolevante wrote:If I start the application several time with one uid, the database is ok.
Is there a way, to get proper file locks with wine?
-
- Newbie
- Posts: 2
- Joined: Tue Mar 08, 2011 1:30 pm
Re: Multiuser database application / file locks
I tried this already, it works well for the file lock. But the windows focus is a problem:vitamin wrote:Yes, run it under same user same wineprefix. Wine can't support proper file locking between different users/wineprefixes. Wine is a single user application.
Example: Two users start the app with the same wineprefix and uid (using sudo). Flie locking is fine.
If the first users tries to enter a text and the second user klicks on a window, then the first user looses the window focus and can not type anymore.
Multiuser database application / file locks
"DanKegel" <[email protected]> writes:
--
Alexandre Julliard
[email protected]
It's not supported, and there are bugs for this already.That's interesting... I don't know if Wine has ever been tested with
different instances of an app running together with different DISPLAYs.
Try filing a bug report at bugs.winehq.org.
--
Alexandre Julliard
[email protected]