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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user