To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=60371 Issue #:|60371 Summary:|OO makes bad locks while file is open RW Component:|framework Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P5 Subcomponent:|code Assigned to:|tm Reported by:|hancik
------- Additional comments from [EMAIL PROTECTED] Wed Jan 11 08:47:39 -0800 2006 ------- When writer (doc, odt) or calc (xls) file is opened in OpenOffice 2.0.0(1) version for Linux (debian packages), file is completely blocked for other users. In Windows version is file blocked too, but only for writing. See this steps to reproduce: 1. Create shared folder on linux box (local filesystem) with Samba. 2. Create new DOC file, save it. 3. Leave Writer opened and try open this file from Windows box (same OO version, 2.0.1). The same problem is when document is stored on SMB share (other box). Here are steps: 1. Mount SMb share with mount.cifs from Windows XP or Samba 3.0 box (same problem). 2. Open Writer, open DOC file. 3. Try open the same file over SMB from other Windows box. In both cases you get in MS Word error: "cannot access document ...", in OpenOffice "input/output error". When Linux OO is closed, on Windows box is everything OK. Here is result of smbstatus: Locked files: Pid DenyMode Access R/W Oplock Name -------------------------------------------------------------- 12589 DENY_NONE 0x12019f RDWR EXCLUSIVE /data1/temp/a/2.doc Wed Jan 11 15:31:22 2006 I think the right Oplock value must be "EXCLUSIVE+BATCH". Oplock has this value when you access file from Windows OO version. When you disable oplocking in SAMBA, you don't get the error message, but file is opened twice and both on read/write mode. When you use mount.smbfs, samba oplock is set always to "NONE", so files are RW opened twice and more :) Used software: Linux side (2 boxes, 1 on vmware): Debian GNU/Linux 3.1, stable, kernel 2.6.13-15, samba 3.0.14(21) OpenOffice 2.0.0, 2.0.1, from debs or tgz. Windows side: Windows XP Prof ENU, SP2 Windows 2000 Server SP4, ENU OpenOffice 2.0.1, MS Office 2000 SP3 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]