Issue 126143 - FILEOPEN: Opening file from Samba share produce Document in Use dialog (~/.gvfs or mount.cifs)
Summary: FILEOPEN: Opening file from Samba share produce Document in Use dialog (~/.gv...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 4.1.1
Hardware: All Linux, all
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 19:39 UTC by nrbrtx
Modified: 2016-10-10 17:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nrbrtx 2015-03-01 19:39:48 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).