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

            Bug ID: 129917
           Summary: Installing shared extensions with sudo makes LO
                    unusable
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

When installing a shared extension with unopkg on Linux like this:

sudo unopkg add --shared extension.oxt

the extension will first be unpacked in the user's directory and afterwards put
into the right place in the LibreOffice installation.

During this, some files owned by root are created in the user profile.
Afterwards, LO refuses to start because of this.

This is not a problem when running unopkg as root, since a different user
profile (from user root) will be used.

So the suggestion is to use a temporary user profile when installing a shared
extension on Linux.

There is a patch for that at https://bz.apache.org/ooo/show_bug.cgi?id=86080 .
However that bug was closed as a duplicate of
https://bz.apache.org/ooo/show_bug.cgi?id=79648 which again was closed because
"unopkg is not used anymore during setup, so the issue is invalid".

That assumption is wrong, since above case (installing a shared extension with
sudo) was not considered.

So I suggest to implement the solution from
https://bz.apache.org/ooo/show_bug.cgi?id=86080 (use a temporary user profile
when installing shared extensions on Linux).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to