Merge lp:~sdeziel/apparmor/user-mail into lp:apparmor/2.12

Proposed by Simon Déziel on 2016-04-14
Status: Merged
Merged at revision: 3439
Proposed branch: lp:~sdeziel/apparmor/user-mail
Merge into: lp:apparmor/2.12
Diff against target: 12 lines (+1/-1)
1 file modified
profiles/apparmor.d/abstractions/user-mail (+1/-1)
To merge this branch: bzr merge lp:~sdeziel/apparmor/user-mail
Reviewer Review Type Date Requested Status
Seth Arnold 2016-04-14 Approve on 2016-04-14
Review via email:
To post a comment you must log in.
Seth Arnold (seth-arnold) wrote :

Looks good to me, but tightening a rule in an abstraction feels like something that ought to be reviewed by several people..


Simon Déziel (sdeziel) wrote :

Since the rule matched only for files directly under /var/mail makes is a hint that it was always intended to cover users' mailboxes. But yeah, more reviewers would be welcome.

Christian Boltz (cboltz) wrote :

Looks good to me too - and I just checked that the files in /var/spool/mail/ are really owned by the respective user.

Seth, if you think two reviews are enough, please merge this ;-)

Seth Arnold (seth-arnold) wrote :

Thanks Christian, Simon!

Committed revision 3439.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'profiles/apparmor.d/abstractions/user-mail'
2--- profiles/apparmor.d/abstractions/user-mail 2014-10-09 20:48:37 +0000
3+++ profiles/apparmor.d/abstractions/user-mail 2016-04-14 19:16:51 +0000
4@@ -14,7 +14,7 @@
5 owner @{HOME}/[mM]ail/** rwl,
6 owner @{HOME}/postponed* rwl,
7 /var/{,spool/}mail/ r,
8- /var/{,spool/}mail/* rwl,
9+ owner /var/{,spool/}mail/* rwl,
10 owner @{HOME}/mbox.lock* rwl,
11 owner @{HOME}/mbox rw,
12 owner @{HOME}/inbox rw,


People subscribed via source and target branches