https://bugs.documentfoundation.org/show_bug.cgi?id=158038

            Bug ID: 158038
           Summary: General input/output error when trying to open PDF in
                    macOS appstore version
           Product: LibreOffice
           Version: 7.5.7.1 release
          Hardware: All
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: cl...@documentfoundation.org

Trying to open a PDF file in LibreOffice obtained from the macOS appstore
results in a General input/output error, no matter what method is used
(File|Open or Insert Text from File, dragging from finder)

Cause: pdf import is realized using a helper utility (xpdfimport, from poppler)
that resides alongside the soffice executable in the Contents/MacOS folder

Those additional utilities/helpers were signed with the same entitlements like
the main program, and that's an error. Helper utilities must be signed with
only the sandbox and inherit entitlements in order to run in the same sandbox
context.

https://developer.apple.com/documentation/xcode/embedding-a-helper-tool-in-a-sandboxed-app
"Adding other entitlements to the tool can cause problems. If the tool
immediately crashes with a code signing error when your app runs the tool,
check that the tool is signed with just these two entitlements:
com.apple.security.app-sandbox and com.apple.security.inherit."

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to