瀏覽代碼

Add the chown line for www-data

A copy made with sudo make the new files ownership of root. To allow apache to modifiy wiki files, you must change the ownership to www-data, the user created by Apache2 on Ubuntu.
DricomDragon 5 年之前
父節點
當前提交
08828738e2
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Guides/wiki.md

+ 2 - 0
Guides/wiki.md

@@ -61,6 +61,8 @@ sudo mkdir /var/www/mediawiki
 
 sudo mv mediawiki-*/* /var/www/mediawiki
 
+sudo chown -R www-data:www-data /var/www/mediawiki
+
 ```
 
 ### Cli config