You probably have your umask set more securely than the install program assumes. You can either use chmod to loosen up the permissions on the files and directories that Apache needs to read or use setfacl. You should also probably set umask in one of the login files for your xymon user, or Apache will likely not be able to read the files that Xymon creates. <br>
<br>Thanks,<br>Larry Barber<br><br><div class="gmail_quote">On Wed, Jan 19, 2011 at 11:41 AM, Xymon User in Richmond <span dir="ltr"><<a href="mailto:hobbit@epperson.homelinux.net">hobbit@epperson.homelinux.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Wed, January 19, 2011 11:23, Jayanta Kundu wrote:<br>
> Hi Craig,<br>
><br>
><br>
><br>
> How can I give read permission to apache user?<br>
><br>
> My “www” and “web” folder is present in the path “/home/xymon/server/www”<br>
><br>
<br>
</div>Offhand I'd say to put the apache user in the xymon group if you have such<br>
problems.  But since a default Xymon install will normally have the<br>
permissions at 755 for folders and 644 for files in the Xymon www and cgi<br>
directories, the perms have apparently been mucked with on your system,<br>
perhaps the ownership as well.  In a normal install, in my experience,<br>
apache would be able to read everything without any permission<br>
adjustments.<br>
<div class="im"><br>
><br>
> If find apache from root then following output I got:<br>
><br>
> /usr/sbin/apachectl<br>
<br>
</div>You mean, like "find / -name 'apache*'"?  It's not clear how that would<br>
have any bearing on the discussion.<br>
<div class="im"><br>
><br>
><br>
><br>
> [root@RHEL5 sbin]# pwd<br>
><br>
> /usr/sbin<br>
><br>
> [root@RHEL5 sbin]# ls -lrt apachectl<br>
><br>
> -rwxr-xr-x 1 root root 3916 Jul 15  2009 apachectl<br>
><br>
<br>
</div>Yep, that's what it looks like on my systems, too.  Your point?<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</div></div></blockquote></div><br>