RRA permissions with Structured RRA Path error

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
cjolly3053
Posts: 48
Joined: Thu Jan 06, 2011 9:30 am
Location: Nashville, TN
Contact:

RRA permissions with Structured RRA Path error

Post by cjolly3053 »

I have found multiple topics on this but no one seems to know exactly how to resolve this.

Can somebody please help with resolving the issue with the Structured RRA path permissions problem which seems to appear after running updates.

After installing 1.0.1 everything appeared to be working as expected and in the RRA directory, cacti would be able to create a new device folder with the proper owner for me which was mcccacti.

I am now on 1.0.3 and have installed updates on Ubuntu 16.10 and I'm running into the same issues I have seen in many tickets.
When I add a new device and cacti creates the new directory in /rra/ the owner is www-data and cacti gives an error that it's unable to change the permissions of the folder.

How does this appear to pop up after an update when it was working fine before. How can I fix this????
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: RRA permissions with Structured RRA Path error

Post by camerabob »

Are you sure that the owner of the folder is who you want it to be (mcccacti)?

If the latest install overwrites the existing folder structure, it may overwrite the owner's permissions as well. Try:

Code: Select all

linux# chmod mcccacati.mcccacti <path to cacti>/cacti -R
This will change ownership on all directories and files under <path to cacti>/cacti to be 'mcccacti'. Anything created going forward will be owned by 'mcccacti' as well.

Hope that helped.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
cjolly3053
Posts: 48
Joined: Thu Jan 06, 2011 9:30 am
Location: Nashville, TN
Contact:

Re: RRA permissions with Structured RRA Path error

Post by cjolly3053 »

yeah tried that but still giving me heartache.

I've just been going in and chown to mccadmin for each new device I add.

it creates the directory as www-data:www-data but then is unable to change the permissions to mccadmin:www-data.

If I do not change it to mccadmin:www-data it will not create any rrd files so not sure what I have done to myself...LOL

Sure I did something wacky somewhere.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests