mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
parent
e73fc07792
commit
aaa24f644b
4 changed files with 12 additions and 2 deletions
|
@ -8,7 +8,7 @@ abi <abi/3.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/cron
|
||||
profile cron @{exec_path} {
|
||||
profile cron @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app-launcher-root>
|
||||
include <abstractions/authentication>
|
||||
|
@ -45,6 +45,7 @@ profile cron @{exec_path} {
|
|||
|
||||
/var/spool/cron/crontabs/{,*} r,
|
||||
|
||||
@{run}/systemd/sessions/*.ref rw,
|
||||
owner @{run}/crond.pid rwk,
|
||||
owner @{run}/crond.reboot rw,
|
||||
|
||||
|
|
|
@ -70,6 +70,11 @@ profile gpg-agent @{exec_path} {
|
|||
owner /var/lib/*/gnupg/{,d.*/}S.gpg-agent{,.ssh,.browser,.extra} rw,
|
||||
owner /var/lib/*/gnupg/sshcontrol r,
|
||||
|
||||
owner /var/tmp/zypp.*/ rw,
|
||||
owner /var/tmp/zypp.*/{,*/}private-keys-v1.d/ rw,
|
||||
owner /var/tmp/zypp.*/{,*/}private-keys-v1.d/@{hex}.key rw,
|
||||
owner /var/tmp/zypp.*/{,*/}S.gpg-agent{,.ssh,.browser,.extra} rw,
|
||||
|
||||
owner /tmp/tmp.*/gnupg/ rw,
|
||||
owner /tmp/tmp.*/gnupg/private-keys-v1.d/ rw,
|
||||
owner /tmp/tmp.*/gnupg/private-keys-v1.d/@{hex}.key rw,
|
||||
|
|
|
@ -24,7 +24,9 @@ profile scdaemon @{exec_path} {
|
|||
owner @{run}/user/@{uid}/gnupg/S.scdaemon rw,
|
||||
owner @{run}/user/@{uid}/gnupg/d.*/S.scdaemon rw,
|
||||
|
||||
owner /var/tmp/zypp.??????/zypp-trusted-*/S.scdaemon w,
|
||||
owner /var/tmp/zypp.*/PublicKey/S.scdaemon w,
|
||||
owner /var/tmp/zypp.*/zypp-general-kr*/S.scdaemon w,
|
||||
owner /var/tmp/zypp.*/zypp-trusted-*/S.scdaemon w,
|
||||
|
||||
@{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
||||
|
|
|
@ -66,6 +66,8 @@ profile sddm @{exec_path} {
|
|||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}lib/@{multiarch}/sddm/sddm-helper rix,
|
||||
/{usr/,}lib{,exec}/sddm/sddm-helper rix,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh mrix,
|
||||
|
||||
/{usr/,}bin/sddm-greeter rPx,
|
||||
|
|
Loading…
Reference in a new issue