[CentOS] PHP question on CentOS

Rogelio Bastardo scubacuda at gmail.com
Tue Jul 3 00:35:57 UTC 2007


>
> You'll need to make sure that apache can read (and possibly write)
> depending on what your needs are, to those files. chown and chmod are
> your friends here, yes.


In the NagiosQL documentation, it says to do the  following:

# chown nagios.www /usr/local/nagios/var/rw/nagios.cmd
# chmod 660 /usr/local/nagios/var/rw/nagios.cmd

I do a "locate nagios.cmd", and it turns up nothing.  I wasn't sure if the
/var/ part of the path meant that it had to do something with the fact that
my html files are in /var/www/html.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070702/2dd6456a/attachment.html>


More information about the CentOS mailing list