[Bug 9142] wcmd can't open locked files

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 15 02:04:49 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=9142





--- Comment #4 from Andrew Zabolotny <anpaza at mail.ru>  2008-04-15 02:04:48 ---
Nothing has changed since I last reported the issue. Here's another session,
where /var/ftp is mounted via Samba (perhaps this is important?) on /mnt/tmp on
the same machine:

[2|root at zap|/var/ftp]grep `stat -c "%i" test.txt` /proc/locks 
1: LEASE  ACTIVE    WRITE 4336 08:21:10447 0 EOF
[2|root at zap|/var/ftp]wine cmd
CMD Version 0.9.58

Z:\mnt\1\ftp>type test.txt
Sharing violation

Failed to open 'test.txt'
Z:\mnt\1\ftp>type test.txt
Hello world!
Z:\mnt\1\ftp>^D
[2|root at zap|/var/ftp]grep `stat -c "%i" test.txt` /proc/locks 
[2|root at zap|/var/ftp]

In another window I just did 'tail -f /mnt/tmp/test.txt', where /mnt/tmp is
mounted from /var/ftp.

I don't know how Vitaly have set the oplock on the file in hist example above,
but I never have seen an FLOCK/MSNFS lock with Samba. I always get just one
LEASE/ACTIVE lock. Perhaps this makes a difference.

I currently use wine-0.9.58 and samba-3.0.28a on Fedora 8.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list