From 825e78d909ef28e46aa7fb447b7a429d4bcd231f Mon Sep 17 00:00:00 2001 From: Justin P Date: Thu, 3 Nov 2016 10:51:20 -0500 Subject: [PATCH] Changing the CHMOD to 0750 This allows monitoring software, like monit, to be able to use the .pid file to track if its running. Plus, I don't think I've ever seen permissions that restrictive? --- init/ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/ubuntu b/init/ubuntu index 2353963..a1b5986 100755 --- a/init/ubuntu +++ b/init/ubuntu @@ -61,7 +61,7 @@ start_cp() { # (but refuse to touch any pre-existing ones) for D in "$(dirname "$CP_PIDFILE")" "$CP_DATA"; do [ ! -d "$D" ] && { - install --directory --owner="$CP_USER" --group=root --mode=0700 "$D" || exit 1; + install --directory --owner="$CP_USER" --group=root --mode=0750 "$D" || exit 1; } done