Untrusted application launcher (desktop launchers)

General support questions
George99
Posts: 68
Joined: 2013/09/08 17:01:05
Location: Germany

Re: Untrusted application launcher (desktop launchers)

Post by George99 » 2018/02/04 16:24:16

This is a new Gnome security feature to prevent starting desktop apps without asking the user once for his trust.

The information is stored in the metadata of the file.

https://gitlab.gnome.org/GNOME/nautilus ... /1630f5348

DejitaruJin
Posts: 4
Joined: 2018/01/31 15:18:27

Re: Untrusted application launcher (desktop launchers)

Post by DejitaruJin » 2018/02/05 14:46:01

George99 wrote:This is a new Gnome security feature to prevent starting desktop apps without asking the user once for his trust.
As an admin at a location with some 300 employees and 300 workstations (to say nothing of whoever's at the other buildings), where machines are reimaged about once a month, I would like to opt out of this 'feature'. There is a very specific reason I set the executable flag on those items in /etc/skel, and I'd rather my decision on the matter not be overruled.

If need be, I can write a script to fix the metadata at user login - but I do not feel I should need to do battle with the operating system.

User avatar
TrevorH
Forum Moderator
Posts: 29955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Untrusted application launcher (desktop launchers)

Post by TrevorH » 2018/02/05 15:05:52

CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
l2g
Posts: 9
Joined: 2015/08/14 13:04:27
Contact:

Re: Untrusted application launcher (desktop launchers)

Post by l2g » 2019/07/30 15:44:51

I realize this post is old, but I was having the same problem and needed to automate this for an installation. Those who found this ticket searching how to automate the .desktop files to be trusted (without user interaction) and want some closure...

Just do the following:

Code: Select all

# As the user who should be trusting the launcher:
gio set /path/to/your/launcher.desktop "metadata::trusted" yes
You may need to refresh your desktop (F5), but you'll observe the file is launch-able without having to accept a Untrusted dialog box reference.

jtome7
Posts: 1
Joined: 2014/03/01 15:13:29

Re: Untrusted application launcher (desktop launchers)

Post by jtome7 » 2020/07/29 17:39:29

The same problem is happening two years later with versions up to and including CentOS Linux 7.8

It's a pain to have to click on each and every Desktop Icon to say "Trust and Launch"

Post Reply

Return to “CentOS 7 - General Support”