Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: BlueSky on March 22, 2004, 03:27:57 PM

Title: Apache default user and group
Post by: BlueSky on March 22, 2004, 03:27:57 PM
The Apache's default user is "nobody" and group "nobody". Is this still the same with SME, or has it been changed? Does anyone know, please.

Thanks
Title: Apache default user and group
Post by: BlueSky on March 22, 2004, 06:53:09 PM
I have also tried the apache.apache but it is not the one. Any ideas please.
Title: Apache default user and group
Post by: byte on March 22, 2004, 08:51:27 PM
Hi,

The correct setting is...

User= www
Group = www

To find this out check out /etc/httpd/conf/httpd.conf and search for "user" this will give you a little description on it.

If you wish to change remember to create a template to change!!

HTH
Title: Apache default user and group
Post by: BlueSky on March 23, 2004, 06:35:31 AM
Thank you for your reply.

I tried www.www but it did not work with me. What I want to do is to create a folder that MUST be able to be written to by the web server. This is part of a documents management software that I installed recently (http://sourceforge.net/projects/owl).

When I tried to install on a fresh Red Hat 9.0 box, I made:
chown -R apache.apache Documents - which worked fine with RH 9.

For the SME, doing (chown -R www.www Documents) did not work. Not even admin.admin.

Is there a specail additional requirement under SME that I should be doing ??

Thanks,
Title: Apache default user and group
Post by: byte on March 23, 2004, 12:12:24 PM
Hi,

Have you created an IBAY for this OWL? if so make sure you enable php/cgi bit...

Checked your permissions?

Checked the logs? See what they show!
Title: Apache default user and group
Post by: BlueSky on March 23, 2004, 03:47:12 PM
The problem is that I have done all that you mentioned. Still the same. I'm pretty sure it is a matter of permissions. It is just that the web server cannot write to the specified directory. I don't know what else to do. !!! :lol:
Title: Apache default user and group
Post by: byte on March 23, 2004, 05:21:38 PM
If it is permissions why not change them then :hammer:

If your not sure how to change type at command prompt...

chmod 755 /to/your/directory

Remember that might not be best security setting but you can choose on which setting you want.

Hopefully that is what you are after :-o