WinSCP: Permission denied

Active 0 Reply 157 Views 2019-09-24 09:24:14 Raspberry Pi

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.

Please Login to reply this topic. If you do not have account, please Register.