WinSCP: Permission denied



How to deal with this Error:

Permission denied.

Error code: 3

Error message from server: Permission denied


Problem Solved

sudo chown -R pi:pi /var/www/

Even Better:

  sudo chown www-data:www-data -R /var/www

  sudo chmod g+rw -R /var/www

  sudo chmod g+s -R /var/www

  sudo usermod -a -G www-data pi

Sharing is caring, show love and share the thread with your friends.


loading...