diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install-system | 3 | ||||
-rwxr-xr-x | scripts/vyatta_net_name | 3 |
2 files changed, 4 insertions, 2 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 diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name index 0a96ebb8..f67c2349 100755 --- a/scripts/vyatta_net_name +++ b/scripts/vyatta_net_name @@ -57,8 +57,9 @@ done if [ ! -f $BOOTFILE ] ; then cp $DEFAULT_BOOTFILE $BOOTFILE + chown vyatta $BOOTFILE chgrp vyattacfg $BOOTFILE - chmod 660 $BOOTFILE + chmod 664 $BOOTFILE fi shopt -s extglob nullglob |