Dokuwiki permissions

This commit is contained in:
Bob Motram 2015-02-08 17:03:26 +00:00
parent d9ede61dc1
commit ce746ce56e
1 changed files with 4 additions and 1 deletions

View File

@ -6566,7 +6566,10 @@ 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