summaryrefslogtreecommitdiff
path: root/scripts/vyatta-config-loader.pl
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 09:09:29 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-24 09:09:29 -0700
commitae08adfabeed8fec9093e759a40f156d589defa9 (patch)
tree346ae29a6645f5b547b567b4a9956a6338462f89 /scripts/vyatta-config-loader.pl
parentf3a563927fd763646b104e9af0a8a78f48920a95 (diff)
downloadvyatta-cfg-ae08adfabeed8fec9093e759a40f156d589defa9.tar.gz
vyatta-cfg-ae08adfabeed8fec9093e759a40f156d589defa9.zip
make sure config directories have correct permissions.
Diffstat (limited to 'scripts/vyatta-config-loader.pl')
-rwxr-xr-xscripts/vyatta-config-loader.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-config-loader.pl b/scripts/vyatta-config-loader.pl
index a3dfc44..4c05b80 100755
--- a/scripts/vyatta-config-loader.pl
+++ b/scripts/vyatta-config-loader.pl
@@ -6,6 +6,8 @@ use strict;
use lib "/opt/vyatta/share/perl5/";
use VyattaConfigLoad;
+umask 0002;
+
# get a list of all config statement in the startup config file
# (sorted by rank).
my @all_nodes = VyattaConfigLoad::getStartupConfigStatements($ARGV[0]);