After installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody".
Hi,
after installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody". Has this any intention? Do you think owning that folder is a good practice? Regards Javi |
This thread really belongs in "Linux-Server" or "Linux-General" and not "Programming".
The answer will depend on which user runs the apache process on your system. When you run "ps -ef | grep http", who is the owner? Cheers, Tink P.S.: I've reported the post to be moved to a more suitable forum. |
Quote:
root 7599 1 0 11:17 ? 00:00:01 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log Quote:
|
Well ... with "nobody" running pache the ownership should make sense, I reckon.
|
Quote:
|
Your apache is run by user "nobody". So it's not only reasonable
but essential that htdocs be owned by "nobody". |
To be even more explicit, there is a userid called "nobody". It's a valid userid, just like "root" or "mail" or "uucp", or whatever.
|
All times are GMT -5. The time now is 04:32 PM. |