tools: init scripts: make XEN_RUN_DIR and XEN_LOCK_DIR mode 700
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 7 Feb 2019 15:02:27 +0000 (15:02 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 7 Feb 2019 18:44:36 +0000 (18:44 +0000)
commit7b5278b28f8fbcd4402e4520d7a5d607d4a997a7
tree9586eec8d51f296a0babce4ac19747838ceb897f
parent0c4a38c098f9bffeb33f8cf88abdea4b0f9a9070
tools: init scripts: make XEN_RUN_DIR and XEN_LOCK_DIR mode 700

These directories ought not to be even world-readable.  If this script
for some reason runs with a lax umask they might be created
overly-writeable.  Avoid any such bug by setting the mode explicitly.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/hotplug/Linux/init.d/xencommons.in