summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-14 15:57:17 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-14 15:57:17 -0800
commitd82436aecf73516a7a6ed92165478a8d462820f4 (patch)
tree82f34099f58e8bf1b81b4fb855deba2a0cc2c473 /etc
parent8d6bac43ac6604b3c2a0ac9315a2e5c168299a5a (diff)
downloadvyatta-cfg-d82436aecf73516a7a6ed92165478a8d462820f4.tar.gz
vyatta-cfg-d82436aecf73516a7a6ed92165478a8d462820f4.zip
make sure config dir has right group/permissions
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-ofr3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index aaa31b2..4f8b7dd 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -106,7 +106,8 @@ load_bootfile ()
start ()
{
log_daemon_msg "Starting Vyatta Router"
- mount -o nosuid,nodev -t tmpfs none ${vyatta_configdir}
+ mount -o nosuid,nodev,mode=775 -t tmpfs none ${vyatta_configdir}
+ chgrp ${GROUP} ${vyatta_configdir}
init_bootfile
migrate_bootfile
for s in ${subinit[@]} ; do