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 serialized GVariant. 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:


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