FLATPAK-PERMISSION-SET(1)
β¨ FLATPAK-PERMISSION-SET β the flatpak permission-set manual, bestie edition β¨
okay so you opened the manual for flatpak permission-set, part of the flatpak fam π. Buckle up, this one's short and sweet and lowkey powerful.
πΈ NAME πΈ
flatpak-permission-set β literally just: set permissions. that's the whole vibe. π
π SYNOPSIS π
flatpak permission-set [OPTION...] TABLE ID APP_ID [PERMISSION...]
π DESCRIPTION π
so here's the tea β β this command sets the permissions for an application inside an entry in the permission store. the entry is identified by TABLE and ID, and the app is identified by APP_ID. periodt.
the PERMISSION strings you pass in must be in a format suitable for the table. yes, the table decides. not you. not me. the table. π
and what even is the permission store? it's the thing portals use π«Ά. each portal generally has its own table in the permission store, and the format of those table entries is specific to each portal β so no, there's not one universal format, iykyk. each portal does its own thing. iconic behaviour honestly.
β OPTIONS β
here's everything this command understands, no gatekeeping:
-h,--helpβ show help options and dip out. classic. π--data=DATAβ associate DATA with the entry. plot twist: the data must be a serializedGVariant. not vibes. an actual serialized GVariant. π-v,--verboseβ print debug information while the command is doing its thing. for when you need to see everything. π--ostree-verboseβ print OSTree debug information while the command is processing. extra deep, extra detailed. π
π¦ EXAMPLES π¦
a lil demo, because seeing it >> reading about it:
$ flatpak permission-set --data "{'always-ask':<true>}"
desktop-used-apps text/plain org.mozilla.Firefox org.gnome.gedit 0 3
look at that. TABLE is desktop-used-apps, ID is text/plain, APP_ID is org.mozilla.Firefox, and the permissions are org.gnome.gedit, 0, and 3. slay. π
π SEE ALSO π
go read the rest of the family, they're all linked:
flatpak(1)flatpak-permissions(1)flatpak-permission-remove(1)flatpak-permission-reset(1)flatpak-permission-show(1)
that's the whole page bestie, you ate it π. this was the flatpak permission-set manual from the flatpak source, dated under the FLATPAK PERMISSION-(1) banner β mwah, ily, go set some permissions responsibly πβ¨
π¦ where this page comes from
- debian trixie: flatpak 1.16.6-1~deb13u3
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms