diff --git a/apparmor.d/profiles-a-f/anacron b/apparmor.d/profiles-a-f/anacron new file mode 100644 index 000000000..ed1e9635c --- /dev/null +++ b/apparmor.d/profiles-a-f/anacron @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}{s,}bin/anacron +profile anacron @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/{,ba,da}sh rix, + /{usr/,}bin/run-parts rPx, + + / r, + /etc/anacrontab r, + + /var/spool/anacron/cron.* rw, + + include if exists +} \ No newline at end of file