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 19:22:22 -0500 |
commit | 9b0151b1d51617e969807d75b00eed998bf8f294 (patch) | |
tree | 820f8c8f3889f502770d82240d57fccccb05ca28 | |
parent | 4c880822e64eb22c0a91357b987ae096d848a84c (diff) | |
download | vyatta-cfg-system-9b0151b1d51617e969807d75b00eed998bf8f294.tar.gz vyatta-cfg-system-9b0151b1d51617e969807d75b00eed998bf8f294.zip |
Fix permission problems on /config during initial install
-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 |