Gitweb:
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=4eb1dcce90b...
Commit: 4eb1dcce90bb4d43cf4268d5310f95e12a862ba7
Parent: 12a2f51a3bdf155dc928c4e9ecec202cc8e51231
Author: Jan Pokorný <jpokorny(a)redhat.com>
AuthorDate: Thu Feb 28 18:42:08 2013 +0100
Committer: Jan Pokorný <jpokorny(a)redhat.com>
CommitterDate: Thu Feb 28 19:09:22 2013 +0100
ccs_update_schema: explicitly set umask for the script runtime
As an additional measure to prevent any unauthorized modifications
to the schema.
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
---
config/tools/xml/ccs_update_schema.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/config/tools/xml/ccs_update_schema.in
b/config/tools/xml/ccs_update_schema.in
index a5aa351..98ed885 100644
--- a/config/tools/xml/ccs_update_schema.in
+++ b/config/tools/xml/ccs_update_schema.in
@@ -2,6 +2,7 @@
set +e
export LC_ALL=C
+umask 022
rngdir=@SHAREDIR@/relaxng
rasdir=@SHAREDIR@