2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 13:58:22 +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 # location of user mail, spool and mboxes
@{HOME}/Mail/ r, owner @{HOME}/[mM]ail/ r,
@{HOME}/mail/ r, owner @{HOME}/[mM]ail/** rwl,
@{HOME}/Mail/** rwl, owner @{HOME}/postponed* rwl,
@{HOME}/mail/** rwl,
@{HOME}/postponed* rwl,
/var/spool/mail/ r, /var/spool/mail/ r,
/var/spool/mail/* rwl, /var/spool/mail/* rwl,
@{HOME}/mbox.lock* rwl, owner @{HOME}/mbox.lock* rwl,
@{HOME}/mbox rw, owner @{HOME}/mbox rw,
@{HOME}/inbox rw, owner @{HOME}/inbox rw,
@{HOME}/.forward r, owner @{HOME}/.forward r,
@{HOME}/Maildir/ r, owner @{HOME}/Maildir/ r,
@{HOME}/Maildir/** rwl, owner @{HOME}/Maildir/** rwl,