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

          Priority: medium
            Bug ID: 67441
          Keywords: regression
          Assignee: [email protected]
           Summary: CONFIGURATION: *.desktop files installed from Debian
                    packages are with wrong user:group and permissions
                    (workaround available)
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.1.0.4 release
         Component: Installation
           Product: LibreOffice

Problem description: 

Just installed LO4.1 on Ubuntu 12.04 x86_64. Discovered that I cannot open
files either by clicking on them or by using xdg-open command. The error is
that the corresponding .desktop files are not executable and do not belong to
root.

Steps to reproduce:
1. Install LO4.1 from the official site DEB 64 bit files
2. Try to open a document file (of any type: ODT, DOC, ODP etc) by clicking on
it - a warning gets issued, then, if confirmed, some strange messaged about
failed update. No document is opened. 

3. Use command line xdg-open to see the message:

ggg@scilla:~/Texts$ xdg-open TWAR05015_WinHEC05\ VTx.ppt 
kioclient(1120) KDesktopFile::isAuthorizedDesktopFile: Access to '
"/opt/libreoffice4.1/share/xdg/impress.desktop" ' denied, not owned by root,
executable flag not set. 

kioclient(1120)/kio (KRun): Unable to open replacement file for
"/opt/libreoffice4.1/share/xdg/impress.desktop" "Not enough rights to write to
folder" 

Upon examination of /opt/libreoffice4.1/share/xdg/ it turned out that all files
inside it are owned by user:group 500:500 (not root) and are not marked as
executable. Marking them as such with `sudo chmod +x
/opt/libreoffice4.1/share/xdg/*` fixes the issue.


Current behavior:
No document file can be opened by clicking on it because LO4/1 cannot be
started. Opening from already running instance is possible.

Expected behavior:

Clicking on documents allows to open them.

Operating System: Ubuntu
Version: 4.1.0.4 release
Last worked in: 4.0.3.3 release

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

Reply via email to