To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80279
                 Issue #|80279
                 Summary|Opening .doc files in Writer causes directory lock on 
                        |SMB share
               Component|Word processor
                 Version|OOo 2.2.1
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|open-import
             Assigned to|mru
             Reported by|dsent





------- Additional comments from [EMAIL PROTECTED] Thu Aug  2 07:42:05 +0000 
2007 -------
Using OO 2.2.1 Novell edition (build 2.2.0.2), openSuse 10.2, KDE 3.5.7, 
cifs.mount.

The problem arises while opening .doc files created in MS Office from CIFS
mounts. Until such a file is closed, no KDE application could access its
directory (even read directory contents).

How to reproduce:
1. Create a couple of .doc files in Microsoft Word and save them to
\\server\share\docs\ as myfile1.doc and myfile2.doc (CIFS server is MS Windows
2003 SBS).
2. Mount "//server/share" to "/mnt/share"
3. Open the file "/mnt/share/docs/myfile1.doc" in OO writer.
4. Try opening "/mnt/share/docs" in Konqueror. Konqueror stops responding.
5. Try opening "/mnt/share/docs/myfile2.doc" in another OO Writer window. New
window opens and stops responding.
6. Try saving opened "myfile1.doc" as another file while
"Options->OpenOffice.org->General->use OpenOffice.org dialogs" is disabled.
Konqueror-style dialog opens and stops responding. OpenOffice.org dialogs works
well.
7. Try opening myfile1.doc in Microsoft Word from some Windows machine. It
causes error ("cannot access...").
8. Kill Konqueror dialog, close "myfile1.doc". Konqueror unfreezes. New OO
Writer window unfreezes.

Important observations:
1. No such problem with native OpenOffice documents.
2. No such problem with .doc files created by OO (even after further
open-change-savings with Microsoft Word). However, these documents still cannot
be opened by MS Word in read-only mode while opened for modification in OO.
"cannot access..." etc.
3. OpenOffice Calc is not affected at all.
So it seems that the problem lies somewhere in the Word import plugin that locks
imported file from reading. Maybe it is a combination with some CIFS and KDE
bugs, don't know.

Possible workarounds:
1. Convert all documents to native OO format.
2. Open all  documents with OO and save to the same .doc format using "save as"
(just saving don't do the trick).
3. Disable file locking in soffice script:
# SAL_ENABLE_FILE_LOCKING=1
# export SAL_ENABLE_FILE_LOCKING
(downsides like possible data loss are quite clear).
4. Maybe using samba server instead of Microsoft Windows 2003 as SMB/CIFS server
will help, I didn't try because it's not possible in my corporate network for 
now.

---------------------------------------------------------------------
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]

Reply via email to