Our sysadmin quit and I have been handed "the ropes." Unfortunately, I don't know how to climb very well.
Here is my problem.
We have 4 servers that we use for our hosting of client's sites. Anyway.
I'm trying to upload a file to this certain client's directory via sftp. Getting permission denied. I have sudo access to everything, and I discovered this folder and it's files were owned by an ex employee.
To change that I ran
sudo chown -R www-data public_html/
www-data owner of the directory and the sub files.
According to /etc/group I am in the group of www-data as well as our developers.
However, I am not able to upload/overwrite files. When I go and change the owner -R to shutter (me) and all the files, I still cannot upload.
What am I doing wrong?