2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

abstractions/user-mail:

- use character globbing
- require owner match for files in @{HOME}
This commit is contained in:
Jamie Strandboge
2010-12-22 16:55:18 -06:00
parent 84b5f6e441
commit 2227de709b

View File

@@ -9,16 +9,14 @@
# ------------------------------------------------------------------
# location of user mail, spool and mboxes
@{HOME}/Mail/ r,
@{HOME}/mail/ r,
@{HOME}/Mail/** rwl,
@{HOME}/mail/** rwl,
@{HOME}/postponed* rwl,
owner @{HOME}/[mM]ail/ r,
owner @{HOME}/[mM]ail/** rwl,
owner @{HOME}/postponed* rwl,
/var/spool/mail/ r,
/var/spool/mail/* rwl,
@{HOME}/mbox.lock* rwl,
@{HOME}/mbox rw,
@{HOME}/inbox rw,
@{HOME}/.forward r,
@{HOME}/Maildir/ r,
@{HOME}/Maildir/** rwl,
owner @{HOME}/mbox.lock* rwl,
owner @{HOME}/mbox rw,
owner @{HOME}/inbox rw,
owner @{HOME}/.forward r,
owner @{HOME}/Maildir/ r,
owner @{HOME}/Maildir/** rwl,