Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
03-16-2010, 01:59 PM
#1
Member
Registered: Nov 2006
Posts: 44
Rep:
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
03-16-2010, 02:08 PM
#2
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
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.
03-16-2010, 02:34 PM
#3
Member
Registered: Nov 2006
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by
Tinkster
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.
Thanks, this is the output of the command you say:
root 7599 1 0 11:17 ? 00:00:01 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
Quote:
nobody 7621 7599 0 11:17 ? 00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 7677 7599 0 11:17 ? 00:00:02 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 7679 7599 0 11:17 ? 00:00:01 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 7680 7599 0 11:17 ? 00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 7681 7599 0 11:17 ? 00:00:02 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 8239 7599 0 11:20 ? 00:00:01 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 8248 7599 0 11:20 ? 00:00:03 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 8249 7599 0 11:20 ? 00:00:02 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 8250 7599 0 11:20 ? 00:00:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 8251 7599 0 11:20 ? 00:00:05 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody 10511 7599 0 12:23 ? 00:00:04 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
1000 27986 7525 0 20:32 pts/0 00:00:00 grep http
03-16-2010, 04:40 PM
#4
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
Well ... with "nobody" running pache the ownership should make sense, I reckon.
03-17-2010, 03:18 AM
#5
Member
Registered: Nov 2006
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by
Tinkster
Well ... with "nobody" running pache the ownership should make sense, I reckon.
Sorry i dont understand..
03-17-2010, 12:56 PM
#6
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
Your apache is run by user "nobody". So it's not only reasonable
but essential that htdocs be owned by "nobody".
03-17-2010, 01:41 PM
#7
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136
Rep:
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.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 09:44 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News