Commit a42470f8 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Add a install-data-local target to remove group and other

read permissions from the private password and RSA key files.

Also add a TODO comment -- note that these files are overwritten
so this needs to be fixed -- treated as configuration files not
data files.
M    Makefile.am


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1246 e5f2f494-b856-4b98-b285-d166d9295462
parent 3066eb7a
......@@ -3,6 +3,7 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
pkglibexec_SCRIPTS = b10-cmdctl
b10_cmdctldir = $(DESTDIR)$(pkgdatadir)
# TODO: this is dangerous -- will overwrite!
b10_cmdctl_DATA = passwd.csv b10-cmdctl.pem
CLEANFILES= b10-cmdctl
......@@ -12,3 +13,7 @@ CLEANFILES= b10-cmdctl
b10-cmdctl: cmdctl.py
$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@
chmod a+x $@
install-data-local:
chmod go-rwx $(DESTDIR)$(pkgdatadir)/passwd.csv
chmod go-rwx $(DESTDIR)$(pkgdatadir)/b10-cmdctl.pem
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment