diff --git a/security/drweb/Makefile b/security/drweb/Makefile index bd70e2427ec1..104fd55e2109 100644 --- a/security/drweb/Makefile +++ b/security/drweb/Makefile @@ -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} diff --git a/security/drweb/scripts/post-install b/security/drweb/scripts/post-install index 359ca82a221b..796b644ce5f3 100644 --- a/security/drweb/scripts/post-install +++ b/security/drweb/scripts/post-install @@ -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