diff options
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 673207fc9b..ca1facf232 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -127,7 +127,8 @@ do_install_append() { | |||
127 | # Ensure that the image has as a /var/spool/mail dir so shadow can | 127 | # Ensure that the image has as a /var/spool/mail dir so shadow can |
128 | # put mailboxes there if the user reconfigures shadow to its | 128 | # put mailboxes there if the user reconfigures shadow to its |
129 | # defaults (see sed below). | 129 | # defaults (see sed below). |
130 | install -d ${D}${localstatedir}/spool/mail | 130 | install -m 0775 -d ${D}${localstatedir}/spool/mail |
131 | chown root:mail ${D}${localstatedir}/spool/mail | ||
131 | 132 | ||
132 | if [ -e ${WORKDIR}/pam.d ]; then | 133 | if [ -e ${WORKDIR}/pam.d ]; then |
133 | install -d ${D}${sysconfdir}/pam.d/ | 134 | install -d ${D}${sysconfdir}/pam.d/ |