OK, so I have been at this issue for the better part of 2 hours. I tried this original command
sudo chown www-data:www-data newlogo.png
I got this:
chown: www--data: Invalid argument
I have created a user and a group
www-data, changed the file ownership to it but it still won't upload to the server, because:
newlogo.png: open for write: permission denied Error: File transfer failed
My issue is this. I need to upload this file to a server and change the ownership to
www-data, everything seems like I have done that when I do it through "Get Info" it says a user
www-data has permission to read and write, but it still won't upload. And when I change it manually through a terminal I still get the
chown: www-data: Invalid argument error.
I am not the greatest at Apache and am about to give up. The only thing that I can see left is that the permission on the server I am trying to upload to are not set correctly to allow me to upload this file.