File debian.zeekctl-5.0.postinst of Package zeek-5.0

#!/bin/sh

/usr/bin/getent group zeek >/dev/null || /usr/sbin/groupadd -r zeek

chgrp zeek /opt/zeek/spool /opt/zeek/spool/tmp /opt/zeek/logs
chmod 2770 /opt/zeek/spool /opt/zeek/spool/tmp /opt/zeek/logs
chgrp zeek /opt/zeek/etc
chmod 2775 /opt/zeek/etc
chgrp zeek /opt/zeek/etc/zeekctl.cfg /opt/zeek/etc/networks.cfg /opt/zeek/etc/node.cfg
chmod 0664 /opt/zeek/etc/zeekctl.cfg /opt/zeek/etc/networks.cfg /opt/zeek/etc/node.cfg
openSUSE Build Service is sponsored by