[oe-commits] [meta-openembedded] 02/35: postfix: premission of /var/spool/mail seems incorrect

git at git.openembedded.org git at git.openembedded.org
Wed Jan 27 11:47:37 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 1b89bcea0851c08b244a4f37ae498c8cd3ffc380
Author: Zhenbo Gao <zhenbo.gao at windriver.com>
AuthorDate: Tue Oct 27 11:36:00 2015 +0800

    postfix: premission of /var/spool/mail seems incorrect
    
    See the following output:
    root at qemu0:~# rpm -qlv postfix | grep /var/spool/mail
    drwxr-sr-x 2 postfix nogroup 0 Sep 8 08:46 /var/spool/mail
    The premission 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 <zhenbo.gao at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 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 dc652d7..378310a 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -162,7 +162,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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list