After running
$ps aux | grep httpd
the terminal output is
root 26923 0.0 0.0 14428 1044 pts/0 S+ 17:43 0:00 grep --color=auto httpd
I'm trying to change the owner of a path on a remote LAMP server.
According to this question; move_uploaded_file gives "failed to open stream: Permission denied" error the next step after running
$ps aux | grep httpd
Is to "Change the owner of images and tmp_file_upload to be become nobody or whatever the owner you found in step 1."
$sudo chown nobody /var/www/html/mysite/images/
$sudo chown nobody /var/www/html/mysite/tmp_file_upload/
What should my terminal input for the chown command be based off of my terminal output when running ps aux | grep httpd?
The author of the answer also stated The first column will be the owner typically it will be nobody. What should be used instead of nobody
here, or will nobody
work?