How to set mark "Trust this executable" from bash?

Post here if you are a new Porteus member and you're looking for some help.
inukaze
Black ninja
Black ninja
Posts: 47
Joined: 06 Jul 2023, 07:40
Distribution: Slackware

How to set mark "Trust this executable" from bash?

Post#1 by inukaze » 08 Aug 2023, 14:01

Hi there, i want to know which command(s) i should use for mark this from bash

Image

On spanish «Confiar en este ejecutable».
Translated with google
To english "Trust this executable"

The thing is i try various commands and nothing works like :

Code: Select all

gio set peazip.desktop "metadata::trusted" yes

Code: Select all

gio set "$PWD/peazip.desktop" "metadata::trusted" yes

Code: Select all

gio set "$PWD/peazip.desktop" "metadata::trusted" true

Code: Select all

chown $USER:users ./peazip.desktop

Code: Select all

sudo chown $USER:users "$HOME/.local/share/gvfs-metadata/home"

Code: Select all

sudo chown $USER:users "$HOME/.local/share/gvfs-metadata/uuid-23b2374a-ee65-49dc-9abd-562449624a68"

Code: Select all

chmod a+o+x peazip.desktop
Which command(s) i should use for mark that ".desktop" file with "Trust this executable" ?

Image

tome
Contributor
Contributor
Posts: 676
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

How to set mark "Trust this executable" from bash?

Post#2 by tome » 08 Aug 2023, 19:46

TrustMake this executable?
You have mind and feelings. Be wise and clever.

samuelmurphy
Ronin
Ronin
Posts: 2
Joined: 29 Sep 2023, 08:46
Distribution: Porteus

How to set mark "Trust this executable" from bash?

Post#3 by samuelmurphy » 29 Sep 2023, 08:51

I think you can try this command:

Code: Select all

gio set <path-to-desktop-file> metadata::trusted true

Post Reply