clean up some other file permissions

This commit is contained in:
Bill Kaguru Wanjohi
2019-04-26 14:27:03 +00:00
parent 5f35a74bd1
commit 280ab682c6

View File

@@ -30,7 +30,7 @@ install: install-scripts install-conf install-exclude install-systemd
# target: install-scripts - Install executables.
install-scripts:
install -d $(DEST_SCRIPTS)
install -m 744 $(SRCS_SCRIPTS) $(DEST_SCRIPTS)
install -m 0744 $(SRCS_SCRIPTS) $(DEST_SCRIPTS)
etc/restic/b2_env.sh:
install -m 0600 etc/restic/b2_env.sh.template etc/restic/b2_env.sh
@@ -41,7 +41,7 @@ etc/restic/b2_pw.txt:
# target: install-conf - Install restic configuration files.
# will create these files locally only if they don't already exist
install-conf: | etc/restic/b2_env.sh etc/restic/b2_pw.txt
install -d $(DEST_CONF) -m 700
install -d $(DEST_CONF)
install -m 0600 $(SRCS_CONF) $(DEST_CONF)
# target: install-exclude - Install backup exclude file.
@@ -51,4 +51,4 @@ install-exclude:
# target: install-systemd - Install systemd timer and service files
install-systemd:
install -d $(DEST_SYSTEMD)
install -m 0644 $(SRCS_SYSTEMD) $(DEST_SYSTEMD)
install $(SRCS_SYSTEMD) $(DEST_SYSTEMD)