Quote:
Originally Posted by squidsk
You didn't answer what account your web software, presumable apache, runs on.
Run the command:
Code:
ps aux | egrep '(apache|httpd)'
The account associated with that process needs to be the one that has write access to your web files or uploads won't work.
For example, on standard ubuntu the web server software runs with the www-data account. If that account does not have write access to your forum folder you won't be able to upload into that folder.
|
This is the output from that command:
Code:
nobody 19550 0.0 0.0 61452 3512 ? S 14:53 0:02 /usr/local/apache/bin/httpd
nobody 24232 0.0 0.0 61452 3448 ? S 15:57 0:01 /usr/local/apache/bin/httpd
root 25895 0.0 0.0 59248 3276 ? Ss Feb05 0:55 /usr/local/apache/bin/httpd
nobody 29629 0.0 0.0 61452 3468 ? S 17:32 0:00 /usr/local/apache/bin/httpd
nobody 29772 0.0 0.0 61460 3404 ? S 17:35 0:00 /usr/local/apache/bin/httpd
nobody 29781 0.0 0.0 61456 3408 ? S 17:35 0:00 /usr/local/apache/bin/httpd
nobody 29785 0.0 0.0 61596 3484 ? S 17:35 0:00 /usr/local/apache/bin/httpd
nobody 29907 0.0 0.0 61560 3476 ? S 17:38 0:00 /usr/local/apache/bin/httpd
nobody 29909 0.0 0.0 61456 3400 ? S 17:38 0:00 /usr/local/apache/bin/httpd
nobody 29910 0.0 0.0 61540 3436 ? S 17:38 0:00 /usr/local/apache/bin/httpd
nobody 29923 0.0 0.0 61452 3308 ? S 17:38 0:00 /usr/local/apache/bin/httpd
root 30792 0.0 0.0 103312 880 pts/1 S+ 17:55 0:00 egrep (apache|httpd)
It seems that Root is running Apache/HTTPD. But the way that CentOS Web Panel installs, it installs everything for you.