[smokeping-users] Re: ERROR: calling stat on /usr/local/etc/smokeping/config: Permission denied

Lars Thegler lars at thegler.dk
Tue Dec 27 19:40:09 MET 2005


Niko Tyni wrote:
> On Wed, Dec 21, 2005 at 10:29:29AM -0200, Edinilson J. Santos wrote:
> 
>>After upgrade from version 2.0.3 on a Freebsd 4.8 to version 2.0.5 on a 
>>Freebsd 6.0 I'm having the following problem calling smokeping.cgi:
>>
>>Software error:
>>ERROR: calling stat on /usr/local/etc/smokeping/config: Permission denied
>>For help, please send mail to the webmaster, giving this error message and 
>>the time and date of the error
> 
> The user that the CGI runs as does not have privileges (the 'x' bit) to
> access the /usr/local/etc/smokeping directory (or one of its parents).

This could be caused by the upgrade being run with a more restrictive
umask than the default (0022). Normally, all directories from
/usr/local/etc/smokeping and up are 'drwxr-xr-x'.

> I don't know if FreeBSD uses ACLs; if it does, that may complicate this
> a bit.

FreeBSD 5.0 and later does support ACLs, but this is not enabled by default.

/Lars

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list