Browse Source

fix install permissions

tags/1.5
Nico Rey 3 years ago
parent
commit
0d72891e56
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh View File

@@ -184,9 +184,9 @@ 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/images
sudo chown -R www-data:www-data /var/www/wx
sudo usermod -a -G www-data pi
sudo chmod 775 /var/www/wx/images
sudo chmod 775 /var/www/wx
)
sudo systemctl restart nginx
sudo cp -rp templates/webpanel/* /var/www/wx/


Loading…
Cancel
Save