diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-09 16:56:29 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-09 16:56:29 +0200 |
commit | 5e806c8e42e1b70675916963e14cc0fe5928ec07 (patch) | |
tree | cc5ff54170aace263870a235f99a4655ba959878 /scripts/vyatta_net_name | |
parent | 2d73e504545f05cd7b9a7f561e319d1f21ee8bcc (diff) | |
download | vyatta-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/vyatta_net_name')
-rwxr-xr-x | scripts/vyatta_net_name | 3 |
1 files changed, 2 insertions, 1 deletions
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 |