sysutils/zrepl: pidfile should be world-readable
PR: 255981
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
PORTNAME= zrepl
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= lcook@FreeBSD.org
|
||||
|
||||
@@ -54,8 +54,8 @@ extra_commands="configtest"
|
||||
zrepl_precmd()
|
||||
{
|
||||
if [ ! -d "/var/run/zrepl/stdinserver" ]; then
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl/stdinserver";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl";
|
||||
install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl/stdinserver";
|
||||
fi
|
||||
|
||||
if [ ! -e "${pidfile}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user