summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/shadow/shadow.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index d7fbca7c77..18eba72895 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -132,7 +132,8 @@ do_install_append() {
132 # Ensure that the image has as a /var/spool/mail dir so shadow can 132 # Ensure that the image has as a /var/spool/mail dir so shadow can
133 # put mailboxes there if the user reconfigures shadow to its 133 # put mailboxes there if the user reconfigures shadow to its
134 # defaults (see sed below). 134 # defaults (see sed below).
135 install -d ${D}${localstatedir}/spool/mail 135 install -m 0775 -d ${D}${localstatedir}/spool/mail
136 chown root:mail ${D}${localstatedir}/spool/mail
136 137
137 if [ -e ${WORKDIR}/pam.d ]; then 138 if [ -e ${WORKDIR}/pam.d ]; then
138 install -d ${D}${sysconfdir}/pam.d/ 139 install -d ${D}${sysconfdir}/pam.d/