Hi,
Good tutorial that works well until I get to the last step changing the permission of the /var/www/html/ folder.
pi@raspberrypi:~ $ ls -lh /var/www/
pi@raspberrypi:~ $ sudo chown -R pi:www-data /var/www/html/
pi@raspberrypi:~ $ sudo chmod -R 770 /var/www/html/
pi@raspberrypi:~ $ ls -lh /var/www/
pi-1@raspberrypi:/ $ sudo chown -R pi:www-data /var/www/html/
returns:
chown: invalid user: ‘pi:www-data’
Is there a solution please?
Thanks
Chris Heisig
1 Answers
Hello chris
Is your raspberry pi user called pi-1?
If it you mus use the command:
pi-1@raspberrypi:/ $ sudo chown -R pi-1:www-data /var/www/html/