-- 
Jamie Strandboge                 http://www.ubuntu.com/
Description: also allow /var/mail in user-mail
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1192965

Acked-By: Jamie Strandboge <[email protected]>

=== modified file 'profiles/apparmor.d/abstractions/user-mail'
--- profiles/apparmor.d/abstractions/user-mail	2010-12-22 22:55:18 +0000
+++ profiles/apparmor.d/abstractions/user-mail	2014-10-09 19:36:12 +0000
@@ -1,6 +1,7 @@
 # ------------------------------------------------------------------
 #
 #    Copyright (C) 2002-2006 Novell/SUSE
+#    Copyright (C) 2014 Canonical Ltd.
 #
 #    This program is free software; you can redistribute it and/or
 #    modify it under the terms of version 2 of the GNU General Public
@@ -12,8 +13,8 @@
   owner @{HOME}/[mM]ail/      r,
   owner @{HOME}/[mM]ail/**    rwl,
   owner @{HOME}/postponed*    rwl,
-  /var/spool/mail/      r,
-  /var/spool/mail/*     rwl,
+  /var/{,spool/}mail/         r,
+  /var/{,spool/}mail/*        rwl,
   owner @{HOME}/mbox.lock*    rwl,
   owner @{HOME}/mbox          rw,
   owner @{HOME}/inbox         rw,

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to