Fix permissions, sendmail dislike group-writeable dirs

This commit is contained in:
Andrey A. Chernov 2001-10-15 16:32:06 +00:00
parent d2a5409c36
commit 0f7c5e2b69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48810
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ NO_BUILD= YES
# Needed for update.pl
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
SCRIPTS_ENV+= BINOWN=${BINOWN}
SCRIPTS_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
DRWEB_PREFIX= ${PREFIX}/${PORTNAME}

View File

@ -28,6 +28,6 @@ if ! grep -q drweb /etc/crontab; then
echo ""
fi
[ "$ex" = "1" ] && exit 1
install -dv -m 0775 -o ${BINOWN} -g drweb ${PREFIX}/drweb/run
install -dv -m 0770 -o ${BINOWN} -g drweb ${PREFIX}/drweb/infected.!!!
install -dv -m 0755 -o drweb -g ${BINGRP} ${PREFIX}/drweb/run
install -dv -m 0700 -o drweb -g ${BINGRP} ${PREFIX}/drweb/infected.!!!
exit 0