Date: Fri, 4 Jun 2021 10:22:48 GMT From: Lewis Cook <lcook@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2a866a1b4fd0 - main - sysutils/zrepl: pidfile should be world-readable Message-ID: <202106041022.154AMmBd093534@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a866a1b4fd0e2ce6d07904c920f98e7d994bd59 commit 2a866a1b4fd0e2ce6d07904c920f98e7d994bd59 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2021-06-04 10:15:57 +0000 Commit: Lewis Cook <lcook@FreeBSD.org> CommitDate: 2021-06-04 10:21:49 +0000 sysutils/zrepl: pidfile should be world-readable PR: 255981 --- sysutils/zrepl/Makefile | 1 + sysutils/zrepl/files/zrepl.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sysutils/zrepl/Makefile b/sysutils/zrepl/Makefile index 38ded8f82ac8..124fc8f2eff4 100644 --- a/sysutils/zrepl/Makefile +++ b/sysutils/zrepl/Makefile @@ -3,6 +3,7 @@ PORTNAME= zrepl DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= lcook@FreeBSD.org diff --git a/sysutils/zrepl/files/zrepl.in b/sysutils/zrepl/files/zrepl.in index 128cd406f652..57a4d48ce0b6 100644 --- a/sysutils/zrepl/files/zrepl.in +++ b/sysutils/zrepl/files/zrepl.in @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106041022.154AMmBd093534>