When I try to upload files to my server I am getting a permission denied error. I am able to see all the files through filezilla and even download them but when I try to upload it doesn't let me. I also can't create directories. I have checked the file permissions and made sure port 22 is open. What would be causing me to not be able to upload the files?
I have this setup on Google Compute Engine and implemented a LAMP system. I have also tried to put files and create directories through the ssh terminal but get the same permission denied error. However, I am able to edit files with the sudo nano command.
I found I can only upload to a home folder that is listed, home/username. How do I add permissions for other folders like var/www?