[Libreoffice-bugs] [Bug 129917] New: Installing shared extensions with sudo makes LO unusable

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 10 08:33:49 UTC 2020


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: s.mehrbrodt at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200110/16a8367a/attachment.htm>


More information about the Libreoffice-bugs mailing list