Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 21:36:08 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        scubacuda@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: permission denied to properly chmod'd files
Message-ID:  <469D7C98.2070508@freebsd.org>
In-Reply-To: <2b7af7c40707171804p1cfd7201v5fae4057bb95d935@mail.gmail.com>
References:  <2b7af7c40707171804p1cfd7201v5fae4057bb95d935@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/17/07 20:04, Rogelio Bastardo wrote:
> Today while trying to create a Cacti graph (something I've been able
> to do with no problems on this box before), I got a "permission
> denied" error on the .rrd file that I was trying to access.
> 
> I shelled into a FreeBSD box, only to find that the
> "/usr/local/share/cacti/rrd" folder was properly chmod'd and chown'd
> with the Cacti user.
> 
> I'm relatively new to FreeBSD (compared to other distros) and
> unfortunately cannot get any good information out of anyone about what
> changed on this server. (It seemed to be working a few weeks ago).
> 
> Might there be some sort of BSD version of SELinux going on here?  No
> one has any info on what "changed" on the box to make it not work.
> I've never had this problem on Cacti on the other distros I've worked
> with (mostly Debian and RHEL/CentOS) and am wondering if it is a
> FreeBSD oddity that I'm not understanding.
> 
> If FreeBSD is off the hook, then I'll go bug the Cacti crowd.


Are you using NFS at all? If so, check your locking.

Otherwise, some more debugging would help - can you become the cacti 
user, and then access it?  How about doing a ktrace on the rrd process 
as it fails?

Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469D7C98.2070508>