diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-10 00:39:22 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-10 00:39:22 +0200 |
commit | 2e20a0901c98266daec3056b0226d4672942bcad (patch) | |
tree | d8cfb1926a92bdfc2844edfbd7b1af3317697fa5 | |
parent | 1087207142e3b693cefcc24459e644be86bb0ff4 (diff) | |
download | vyatta-cfg-quagga-2e20a0901c98266daec3056b0226d4672942bcad.tar.gz vyatta-cfg-quagga-2e20a0901c98266daec3056b0226d4672942bcad.zip |
Revert "Set correct mode on configuration mode"
This reverts commit 5e806c8e42e1b70675916963e14cc0fe5928ec07.
There are passwords (like Tcp md5) that should not be displayed
to operator.
-rw-r--r-- | scripts/install-system | 3 | ||||
-rwxr-xr-x | scripts/vyatta_net_name | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/install-system b/scripts/install-system index a6bfd127..20b9f6a3 100644 --- a/scripts/install-system +++ b/scripts/install-system @@ -781,9 +781,8 @@ copy_config () { mkdir -p $rootfsdir$ofrconfdir # create the proper perms on the new config partition - chown vyatta $rootfsdir$ofrconfdir chgrp vyattacfg $rootfsdir$ofrconfdir - chmod 664 $rootfsdir$ofrconfdir + chmod 775 $rootfsdir$ofrconfdir # create our config partition marker touch $rootfsdir$ofrconfdir/.vyatta_config diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name index f67c2349..0a96ebb8 100755 --- a/scripts/vyatta_net_name +++ b/scripts/vyatta_net_name @@ -57,9 +57,8 @@ done if [ ! -f $BOOTFILE ] ; then cp $DEFAULT_BOOTFILE $BOOTFILE - chown vyatta $BOOTFILE chgrp vyattacfg $BOOTFILE - chmod 664 $BOOTFILE + chmod 660 $BOOTFILE fi shopt -s extglob nullglob |