I have created a sftp user which is able to login with sftp to /home which then lists all the sites on the server.
When I try and delete one of the files or overwrite one of the files I am told by my ftp software that I do not have permissions to do this.
I ran the following commands:
sudo adduser <user> www-data sudo chown -R www-data:www-data /home sudo chmod -R g+rw /home /etc/init.d/ssh restart
I am still able to sftp in and view files but still cannot modify anything.
Any ideas what else I need to do?