]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Allow postfix_cleanup_t to searh maildrop
authorMiroslav Grepl <mgrepl@redhat.com>
Tue, 19 Jul 2011 15:39:55 +0000 (15:39 +0000)
committerMiroslav Grepl <mgrepl@redhat.com>
Tue, 19 Jul 2011 15:39:55 +0000 (15:39 +0000)
policy/modules/services/postfix.te

index c6a548017966c36eef466103b701da0b4889a818..3f5751ce1c08ef9e7182328c11affe0829e40b64 100644 (file)
@@ -270,6 +270,10 @@ manage_files_pattern(postfix_cleanup_t, postfix_spool_t, postfix_spool_t)
 manage_lnk_files_pattern(postfix_cleanup_t, postfix_spool_t, postfix_spool_t)
 files_spool_filetrans(postfix_cleanup_t, postfix_spool_t, dir)
 
+allow postfix_cleanup_t postfix_spool_maildrop_t:dir list_dir_perms;
+allow postfix_cleanup_t postfix_spool_maildrop_t:file read_file_perms;
+allow postfix_cleanup_t postfix_spool_maildrop_t:lnk_file read_lnk_file_perms;
+
 allow postfix_cleanup_t postfix_spool_bounce_t:dir list_dir_perms;
 
 corecmd_exec_bin(postfix_cleanup_t)