map200uk Posted May 3, 2007 Share Posted May 3, 2007 my apache daemon is running as user nobody, what i am trying to find out is what permissions this user actually has? I am trying to create a symbolic link using ln -s $dir shortcut with no joy, but obviously no specific error message, making it hard to work out the issue Link to comment https://forums.phpfreaks.com/topic/49864-user-nobody/ Share on other sites More sharing options...
mpharo Posted May 3, 2007 Share Posted May 3, 2007 if you want specific directory permissions you should make apache run as a user then give that user permissions only to the folders that you want...document root, etc...when it runs as nobody, I think you only have access to the default document root... Link to comment https://forums.phpfreaks.com/topic/49864-user-nobody/#findComment-244630 Share on other sites More sharing options...
map200uk Posted May 3, 2007 Author Share Posted May 3, 2007 ahh, crap, i was going to try sudoers and allow it to carry out more actions before i get flamed-im running Lampp for this-how would i go about changing the user the apache daemon runs under?! Link to comment https://forums.phpfreaks.com/topic/49864-user-nobody/#findComment-244636 Share on other sites More sharing options...
mpharo Posted May 3, 2007 Share Posted May 3, 2007 just open your httpd.conf file and look for the following lines: # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User www Group www change the User to what you want and Group to which that user is a member of, then restart apache. You may get an error or 2 about file permissions in your httpd.log but just search them out and you should be good... Link to comment https://forums.phpfreaks.com/topic/49864-user-nobody/#findComment-244713 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.