Koozali.org: home of the SME Server

Apache default user and group

BlueSky

Apache default user and group
« 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

BlueSky

Apache default user and group
« Reply #1 on: March 22, 2004, 06:53:09 PM »
I have also tried the apache.apache but it is not the one. Any ideas please.

Offline byte

  • *
  • 2,183
  • +2/-0
Apache default user and group
« Reply #2 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
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

BlueSky

Apache default user and group
« Reply #3 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,

Offline byte

  • *
  • 2,183
  • +2/-0
Apache default user and group
« Reply #4 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!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

BlueSky

Apache default user and group
« Reply #5 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:

Offline byte

  • *
  • 2,183
  • +2/-0
Apache default user and group
« Reply #6 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
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!