I know to change an owner you put
chown user:group file
but what if I want to see who owns a file?
The issue I am having is I created a user at
/var/www/new-user but when he uploads new files to there, they can't be viewed. I think I have to change the owner or group to
www-data. Not positive.
I already have a user at
/var/www/john that works fine. I thought I set the new on up the same. I wanted to compare mine and see whats different.