summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-09 16:56:29 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-09 16:56:29 +0200
commit5e806c8e42e1b70675916963e14cc0fe5928ec07 (patch)
treecc5ff54170aace263870a235f99a4655ba959878 /scripts/install-system
parent2d73e504545f05cd7b9a7f561e319d1f21ee8bcc (diff)
downloadvyatta-cfg-quagga-5e806c8e42e1b70675916963e14cc0fe5928ec07.tar.gz
vyatta-cfg-quagga-5e806c8e42e1b70675916963e14cc0fe5928ec07.zip
Set correct mode on configuration mode
Set configuration file to be owned by administrator and writable by all admins in configuration mode and visible by public.
Diffstat (limited to 'scripts/install-system')
-rw-r--r--scripts/install-system3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 20b9f6a3..a6bfd127 100644
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -781,8 +781,9 @@ copy_config () {
mkdir -p $rootfsdir$ofrconfdir
# create the proper perms on the new config partition
+ chown vyatta $rootfsdir$ofrconfdir
chgrp vyattacfg $rootfsdir$ofrconfdir
- chmod 775 $rootfsdir$ofrconfdir
+ chmod 664 $rootfsdir$ofrconfdir
# create our config partition marker
touch $rootfsdir$ofrconfdir/.vyatta_config