From ce746ce56ee75e6365a7586863e85f152a9358e1 Mon Sep 17 00:00:00 2001 From: Bob Motram Date: Sun, 8 Feb 2015 17:03:26 +0000 Subject: [PATCH] Dokuwiki permissions --- src/freedombone | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index 3aa3e002..16ac7819 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6566,8 +6566,11 @@ function install_wiki { chown www-data /var/lib/dokuwiki/custom chown www-data /var/lib/dokuwiki/custom/local.php + chown -R www-data /etc/dokuwiki + chown -R www-data /usr/share/dokuwiki/lib/ chmod 600 /var/lib/dokuwiki/custom/local.php - + chmod -R 755 /usr/share/dokuwiki/lib + sed -i 's|//$conf|$conf|g' /var/lib/dokuwiki/custom/local.php sed -i "s|joe|$MY_USERNAME|g" /var/lib/dokuwiki/custom/local.php