Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 29ECE62136 for ; Wed, 18 Nov 2015 07:42:29 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id tAI7gQBN009917 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Tue, 17 Nov 2015 23:42:26 -0800 Received: from pek-zgao-d1.corp.ad.wrs.com (128.224.163.142) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.248.2; Tue, 17 Nov 2015 23:42:25 -0800 From: Zhenbo Gao To: Date: Wed, 18 Nov 2015 15:41:22 +0800 Message-ID: <1447832482-22639-2-git-send-email-zhenbo.gao@windriver.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447832482-22639-1-git-send-email-zhenbo.gao@windriver.com> References: <1447832482-22639-1-git-send-email-zhenbo.gao@windriver.com> MIME-Version: 1.0 Cc: gaozb_jlu@163.com Subject: [PATCH] postfix: permission of /var/spool/mail seems incorrect X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 07:42:31 -0000 Content-Type: text/plain See the following output: root@qemu0:~# rpm -qlv postfix | grep /var/spool/mail drwxr-sr-x 2 postfix nogroup 0 Sep 8 08:46 /var/spool/mail The permission of /var/spool/mail "r-s" seems strange as it belongs to nogroup, modify it to 0755 as to the normal case. Signed-off-by: Zhenbo Gao --- meta-networking/recipes-daemons/postfix/postfix.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 6d39570..85b0524 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc @@ -159,7 +159,7 @@ do_install () { install -m 770 -d ${D}${localstatedir}/spool/postfix chown postfix:postfix ${D}${localstatedir}/spool/postfix - install -m 2755 -d ${D}${localstatedir}/spool/mail + install -m 0755 -d ${D}${localstatedir}/spool/mail chown postfix:nogroup ${D}${localstatedir}/spool/mail install -m 0755 -d ${D}${localstatedir}/lib/postfix chown postfix:nogroup ${D}${localstatedir}/lib/postfix -- 1.9.1