Browse Source

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?
pull/7081/head
Justin P 9 years ago
committed by GitHub
parent
commit
825e78d909
  1. 2
      init/ubuntu

2
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

Loading…
Cancel
Save