diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-15 19:22:22 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-15 20:47:49 -0700 |
commit | 9d487369429b17bbde827fe42fbb2dc43485a8ed (patch) | |
tree | eeb7d5cbe32095e7d25d5a082667f7326cf2feb1 | |
parent | a2f081f928c803317d884f88a786b12c0099c08c (diff) | |
download | vyatta-cfg-quagga-9d487369429b17bbde827fe42fbb2dc43485a8ed.tar.gz vyatta-cfg-quagga-9d487369429b17bbde827fe42fbb2dc43485a8ed.zip |
Fix permission problems on /config during initial install
(cherry picked from commit 9b0151b1d51617e969807d75b00eed998bf8f294)
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 2 |
1 files changed, 2 insertions, 0 deletions
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 |