https://bugs.freedesktop.org/show_bug.cgi?id=69840

          Priority: medium
            Bug ID: 69840
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: FILEOPEN general error (IOErrorCode_ACCESS_DENIED) and
                    ERROR_SHARING_VIOLATION when opening OpenDocument file
                    on filesystem on WINDOWS
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: matthieu....@capgemini.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.5.2 release
         Component: framework
           Product: LibreOffice

Hello,

The problem is:
When I double click on a specific file in the filesystem with LO 4.0.5, then if
I change something in the document and I click on save, I have these  errors:

1. "error saving the document XXXX: Access to XXX was denied"
2. "error saving the document XXXX: Access to XXX was denied"
3. "error saving the document XXXX: General Input/Output Error"

The problem is not happened if I open the file from LO or If I click on Save
AS.

I think I have this error because of this commit:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=6523f78456c9f78fb842b7215eb84a96f4e92472&h=libreoffice-4-0

As you can see in the comment: "this situation may fail on
+            // Windows with ERROR_SHARING_VIOLATION... but that is apparently
+            // not a problem in practice currently"

In version 4.1.1.2 of libreoffice I don't have this problem, it's probably due
to this commit:
http://cgit.freedesktop.org/libreoffice/core/commit/sfx2/source/doc/docfile.cxx?h=libreoffice-4-1-2&id=0c2206081de38a41597aadfb2255540d6308be63

I'll try to backport it to be sure, but I have problem to build on windows
(probably antivirus problem)

So I can you backport the commit in 4.0.6 Beta in the daily build to test my
problem.

Sorry, I can't put my test file yet, but I'm working on it to put it less
confidential.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to