Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child open: add some executables and complete kde-open5 #192

Merged
merged 5 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apparmor.d/abstractions/kde-open5.d/complete
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@{bin}/kde-open rix,

owner @{user_config_dirs}/menus/{,**} r,

owner @{run}/user/@{uid}/kioclient*.[0-9]*.kioworker.socket rwl -> @{run}/user/@{uid}/#[0-9]*[0-9],
6 changes: 6 additions & 0 deletions apparmor.d/groups/children/child-open
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ include <tunables/global>
# App allowed to open
profile child-open {
include <abstractions/base>
include <abstractions/dri-enumerate>
include <abstractions/mesa>
include <abstractions/vulkan>
include <abstractions/xdg-open>

@{bin}/exo-open mr,
Expand Down Expand Up @@ -73,6 +76,7 @@ profile child-open {
@{bin}/gnome-calculator rPUx,
@{bin}/gnome-disk-image-mounter rPx,
@{bin}/gnome-disks rPx,
@{bin}/gwenview rPUx,
@{bin}/kgx rPx,
@{bin}/okular rPx,
@{bin}/qbittorrent rPx,
Expand All @@ -86,7 +90,9 @@ profile child-open {
@{bin}/viewnior rPUx,
@{bin}/vlc rPx,
@{bin}/xarchiver rPx,
@{lib}/libreoffice/program/{soffice,soffice.bin,oosplash} rPUx,


include if exists <usr/child-open.d>
include if exists <local/child-open>
}