Apache OpenOffice (AOO) Bugzilla – Issue 126143
FILEOPEN: Opening file from Samba share produce Document in Use dialog (~/.gvfs or mount.cifs)
Last modified: 2016-10-10 17:01:23 UTC
I'm on Ubuntu 12.04.5 with all updates and Apache OpenOffice Version: 4.1.1 from SourceForge (http://heanet.dl.sourceforge.net/project/openofficeorg.mirror/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-deb_en-US.tar.gz). Steps to reproduce: 1. I have shared my Public folder using nautilus-share (0.7.3-1ubuntu2), placed test.odt file in it. 2a. I navigate Nautilus to smb://localhost, clicked Open in Terminal here (or launch terminal and "cd ~/.gvfs/public\ on\ localhost"). 2b. I mount my share with ""sudo mount.cifs //localhost/public /mnt -o uid=`id -u`,gid=`id -g`,guest,sec=none,noperm", then "cd /mnt" 3. Run "/opt/openoffice4/program/soffice test.odt" in terminal. 4. Got "Document in Use" window with text: Document file 'test.odt' is locked for editing by: Unknown User Open document read-only or open a copy of the document for editing. Open Read-Only Open Copy Cancel 5a. If I click 'Open Read-Only' the document is opened in read-only. 5b. If I click 'Open Copy' the "Untitled 1" document is opened. 5c. Cancel closes this window. Expected results: The "test.odt" files is opened in read-write mode, user can edit it. Actual results: User can't edit original document (see pp. 4-5 above). This functionality is essential. Please fix this bug. This bug exists in LibO too (see https://bugs.documentfoundation.org/show_bug.cgi?id=89632).