From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2AEB01381F4 for ; Mon, 13 Aug 2012 19:29:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3FB421C054; Mon, 13 Aug 2012 19:28:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C654A21C04F for ; Mon, 13 Aug 2012 19:28:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27F671B402C for ; Mon, 13 Aug 2012 19:28:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 69E51E544A for ; Mon, 13 Aug 2012 19:28:05 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1344885619.093f5de7bb9fc351121e0c92b4f8b7544ac8bd3c.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/postfix.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 093f5de7bb9fc351121e0c92b4f8b7544ac8bd3c X-VCS-Branch: master Date: Mon, 13 Aug 2012 19:28:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa84faa0-500c-4918-9aac-d903ff2f09f5 X-Archives-Hash: 2ff0ecdc50713d4bc63a4f403013991d commit: 093f5de7bb9fc351121e0c92b4f8b7544ac8bd3c Author: Sven Vermeulen siphos be> AuthorDate: Sat Aug 11 17:53:29 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Aug 13 19:20:19 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=093f5de7 Allow postfix local to change ownership of mailfiles When the postfix local service delivers a file to a user mailbox, but that mailbox doesn't exist, then the service creates the mailbox and wants to change the ownership of the file. This needs the chown capability. --- policy/modules/contrib/postfix.te | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/postfix.te b/policy/modules/contrib/postfix.te index a1a7663..4666f87 100644 --- a/policy/modules/contrib/postfix.te +++ b/policy/modules/contrib/postfix.te @@ -279,6 +279,7 @@ optional_policy(` # Postfix local local policy # +allow postfix_local_t self:capability chown; allow postfix_local_t self:fifo_file rw_fifo_file_perms; allow postfix_local_t self:process { setsched setrlimit };