summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 18:48:10 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-06 18:48:10 -0800
commitef652f073bde6af2736d0e1a78fbcd47b3f0ed85 (patch)
tree6fd28c24c62aa5ec1c57c2f3c183080c31c865a9 /etc
parent162e2e13f086b94dbc5b4a57ed45c4f62eced123 (diff)
downloadvyatta-cfg-ef652f073bde6af2736d0e1a78fbcd47b3f0ed85.tar.gz
vyatta-cfg-ef652f073bde6af2736d0e1a78fbcd47b3f0ed85.zip
correct owner/permissions for saved config files
Diffstat (limited to 'etc')
-rw-r--r--etc/bash_completion.d/20vyatta-cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 4e809ea..f116554 100644
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -60,7 +60,8 @@ show ()
save ()
{
- eval "sudo ${vyatta_sbindir}/vyatta-save-config.pl $@"
+ eval "sudo sg quaggavty \
+ \"umask 0002 ; ${vyatta_sbindir}/vyatta-save-config.pl $@\""
}
declare vyatta_cfg_prompt_level=''