diff options
author | plunky <plunky@pkgsrc.org> | 2007-11-26 08:27:24 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2007-11-26 08:27:24 +0000 |
commit | 7f623d9f3355f7f115a51cd249797dbbeacfd1ff (patch) | |
tree | 575f788f328a9e3f124afe6f21e1c18f28210349 /mail/nullmailer/INSTALL | |
parent | f9c3120f4307204fdb231d417a63492734a6e878 (diff) | |
download | pkgsrc-7f623d9f3355f7f115a51cd249797dbbeacfd1ff.tar.gz |
set permissions on the fifo when we make the fifo rather than using
SPECIAL_PERMS because ordering seems to be an issue
Diffstat (limited to 'mail/nullmailer/INSTALL')
-rw-r--r-- | mail/nullmailer/INSTALL | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/nullmailer/INSTALL b/mail/nullmailer/INSTALL index a403115d18a..6539f0b0ea7 100644 --- a/mail/nullmailer/INSTALL +++ b/mail/nullmailer/INSTALL @@ -1,10 +1,15 @@ -# $NetBSD: INSTALL,v 1.1 2005/08/20 02:20:45 schmonz Exp $ +# $NetBSD: INSTALL,v 1.2 2007/11/26 08:27:24 plunky Exp $ VARBASE=@VARBASE@ +NULLMAILER_USER=@NULLMAILER_USER@ +NULLMAILER_GROUP=@NULLMAILER_GROUP@ + +TRIGGER=${VARBASE}/spool/nullmailer/trigger case "${STAGE}" in POST-INSTALL) - mkfifo ${VARBASE}/spool/nullmailer/trigger + mkfifo -m 0600 ${TRIGGER} && \ + chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} ${TRIGGER} ;; esac |