Bug 32711 - Can't execute shortcuts created from menu entries (Gnome integration) - Untrusted application launcher
Summary: Can't execute shortcuts created from menu entries (Gnome integration) - Untru...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
3.3.0 RC2
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 16:51 UTC by Fabian Rodriguez
Modified: 2012-08-31 10:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Rodriguez 2010-12-28 16:51:11 UTC
When grabbing a LibreOffice menu entry from Applications > Office and dropping it to the desktop (or right-clicking and "Add this launcher to the desktop"), it appears with a lock and can't be used to launch the corresponding application.

All such menu entries are symlinks to root-owned files in /opt/libreoffice/share/xdg/.

The exact error message is "Untrusted application launcher: The application launcher "libreoffice-calc.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may be unsafe."
Comment 1 Fabian Rodriguez 2010-12-28 16:52:07 UTC
I was using Ubuntu 10.10 32-bit and 64-bit when I tested this.
Comment 2 Yifan Jiang 2010-12-30 01:12:44 UTC
Hi Fabian,

Does `ls -la /opt/libreoffice/share/xdg/` show the *.desktop executable?
Comment 3 Fabian Rodriguez 2010-12-30 04:22:23 UTC
Yes, Yifan, here's my ouput:
magicfab@bachue:~$ ls -la /opt/libreoffice/share/xdg/
total 164
drwxr-xr-x 2 root root  4096 2010-12-30 07:21 .
drwxr-xr-x 8 root root  4096 2010-12-30 07:21 ..
-r--r--r-- 1 root root 23291 2010-12-19 03:54 base.desktop
-r--r--r-- 1 root root 19857 2010-12-19 03:54 calc.desktop
-r--r--r-- 1 root root 16869 2010-12-19 03:54 draw.desktop
-r--r--r-- 1 root root 20321 2010-12-19 03:54 impress.desktop
-r--r--r-- 1 root root  3421 2010-12-19 03:54 javafilter.desktop
-r--r--r-- 1 root root 15979 2010-12-19 03:54 math.desktop
-r--r--r-- 1 root root  6161 2010-12-19 03:54 printeradmin.desktop
-r--r--r-- 1 root root   214 2010-12-19 03:54 qstart.desktop
-r--r--r-- 1 root root 15523 2010-12-19 03:54 startcenter.desktop
-r--r--r-- 1 root root 22257 2010-12-19 03:54 writer.desktop
Comment 4 Yifan Jiang 2010-12-30 18:43:11 UTC
(In reply to comment #3)
> Yes, Yifan, here's my ouput:
> magicfab@bachue:~$ ls -la /opt/libreoffice/share/xdg/
> total 164
> drwxr-xr-x 2 root root  4096 2010-12-30 07:21 .
> drwxr-xr-x 8 root root  4096 2010-12-30 07:21 ..
> -r--r--r-- 1 root root 23291 2010-12-19 03:54 base.desktop
> -r--r--r-- 1 root root 19857 2010-12-19 03:54 calc.desktop
> -r--r--r-- 1 root root 16869 2010-12-19 03:54 draw.desktop
> -r--r--r-- 1 root root 20321 2010-12-19 03:54 impress.desktop
> -r--r--r-- 1 root root  3421 2010-12-19 03:54 javafilter.desktop
> -r--r--r-- 1 root root 15979 2010-12-19 03:54 math.desktop
> -r--r--r-- 1 root root  6161 2010-12-19 03:54 printeradmin.desktop
> -r--r--r-- 1 root root   214 2010-12-19 03:54 qstart.desktop
> -r--r--r-- 1 root root 15523 2010-12-19 03:54 startcenter.desktop
> -r--r--r-- 1 root root 22257 2010-12-19 03:54 writer.desktop

Well, I remember Ubuntu 10.x looks have some new 'feature' to mess up the desktop shotcut. So does the problem still here if you add executable permission to them ` sudo chmod +x /opt/libreoffice/share/xdg/*.desktop`?
Comment 5 Fabian Rodriguez 2011-01-02 15:53:18 UTC
@Yifan, the dragged shortcuts can be executed normally when you do that, but ownership does not change, so they can't be renamed.
Comment 6 Yifan Jiang 2011-01-03 22:52:17 UTC
Hi Rene, do you have some ideas on this? Thanks!
Comment 7 Rene Engelhard 2011-01-06 06:15:40 UTC
Yifan: no
Comment 8 Björn Michaelsen 2011-12-23 11:34:17 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 9 sasha.libreoffice 2012-02-23 02:25:37 UTC
@ Fabian Rodriguez
In 3.5.0 problems remains?
Comment 10 Florian Reisinger 2012-08-14 13:57:44 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 11 Florian Reisinger 2012-08-14 13:59:03 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 12 Florian Reisinger 2012-08-14 14:03:36 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 13 Florian Reisinger 2012-08-14 14:05:52 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian