feat(profile): general update.

see #416
This commit is contained in:
Alexandre Pujol 2024-07-15 23:47:01 +01:00
parent 960135e593
commit cb30dcc4bc
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 21 additions and 25 deletions

View file

@ -25,6 +25,7 @@ profile crontab @{exec_path} {
@{bin}/vim.* rCx -> editor,
/etc/cron.{allow,deny} r,
/etc/pam.d/* r,
/var/spool/cron/ r,
/var/spool/cron/crontabs/ rw,
@ -32,19 +33,18 @@ profile crontab @{exec_path} {
owner @{tmp}/crontab.*/{,crontab} rw,
profile editor {
include <abstractions/base>
include <abstractions/app/editor>
capability fsetid,
/etc/cron.{allow,deny} r,
/tmp/ r,
owner @{tmp}/crontab.*/crontab rw,
# file_inherit
/etc/cron.{allow,deny} r,
include if exists <local/crontab_editor>
}
include if exists <local/crontab>