Cacti / plugin_gexport

Cacti Graph Export Plugin
GNU General Public License v2.0
12 stars 9 forks source link

Mkdir permission denied in file #56

Closed Anonymou567 closed 1 year ago

Anonymou567 commented 1 year ago

Good day,

I have installed and enabled gexport in my cacti but when I tried to test it out, I get a permission denied for mkdir in functions.php on line 1956. May I know what files need which permissions for it to work? Image below shows the error, thank you.

image

netniV commented 1 year ago

The error suggests that you haven't specified a directory for the export. if you have, that directory does not have full permissions to create folders and files for either cron or the webserver user (apache, www-data, etc).

Anonymou567 commented 1 year ago

Hi netniV, thanks for the help, I changed the directory owner to apache:apache. Its working now.