From c3d0d16382a0287f075eec21c1013cc33b46f69a Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Tue, 22 Dec 2020 16:36:20 -0300 Subject: [PATCH] Fix ownership of www folders --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5e59315..a78a0f8 100755 --- a/install.sh +++ b/install.sh @@ -184,7 +184,7 @@ log_running "Setting up Nginx..." sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/default ( sudo mkdir -p /var/www/wx/images - sudo chown -R www-data:www-data /var/www/wx + sudo chown -R pi:pi /var/www/wx sudo usermod -a -G www-data pi sudo chmod 775 /var/www/wx )