From 0d293224987a42025102c1e811f5ab3a9f4e88d2 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 15 Jul 2011 19:22:22 -0500 Subject: Fix permission problems on /config during initial install (cherry picked from commit 9b0151b1d51617e969807d75b00eed998bf8f294) --- debian/vyatta-cfg-system.postinst.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index ac5618f5..4e07288d 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -171,6 +171,8 @@ mkdir -p /opt/vyatta/etc/config/auth mkdir -p /opt/vyatta/etc/config/scripts mkdir -p /opt/vyatta/etc/config/user-data mkdir -p /opt/vyatta/etc/config/support +chown -R root.vyattacfg /opt/vyatta/etc/config +chmod -R 775 /opt/vyatta/etc/config # create /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script # this should be after 'mkdir -p /opt/vyatta/etc/config/scripts' above -- cgit v1.2.3