summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 14:10:23 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 14:10:23 -0800
commit378778b29253151dacb9134b07f1255b9204fdf5 (patch)
treeb72336b07aa9ad9bc2572d718e7eb208589ea409
parente50d6ab805e83a1764cc32967cc216e1366cb079 (diff)
downloadvyatta-op-378778b29253151dacb9134b07f1255b9204fdf5.tar.gz
vyatta-op-378778b29253151dacb9134b07f1255b9204fdf5.zip
use right permissions for tech-support saves
-rw-r--r--functions/tech-support2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/tech-support b/functions/tech-support
index b2c9958..46f5827 100644
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -168,6 +168,8 @@ header "END OF TECH-SUPPORT FILE"
) 1>&$OUT 2>&1
if [ $OUT != "1" ]; then
+ chgrp $DEFAULT_GROUP $OUT >& /dev/null
+ chmod 664 $OUT >& /dev/null
echo "Done"
fi