librenms-plugins / Weathermap

MIT License
64 stars 52 forks source link

The map config directory is not writable by the web server user. You will not be able to edit any files until this is corrected. #15

Closed vikashgounder closed 8 years ago

vikashgounder commented 8 years ago

I am getting this error regardless if i chmod 777 configs or chown apache:apache configs.

Thanks in advance.

laf commented 8 years ago

Permissions leading upto that directory are probably too strict. Check before configs directory.

vikashgounder commented 8 years ago

I have tried everything from making the entire librenms directory with 0777 permissions and even changing everything to apache:apache also to librenms:apache.

Still no success. and plus nothing is popping up on audit.log as i have got selinux enabled too.

laf commented 8 years ago

Try disabling selinux. Others use this with no issues :/

ghost commented 8 years ago

Same issue here. I followed the CentOS 7 installation procedure using a librenms user member of the Apache group. I've tried to add 777 and disable SELinux and this is the same problem. An idea more?

darkfritz2 commented 7 years ago

i have the same problem: CentOS 7, librenms user member and i added both: chown librenms:librenms configs/ AND chmod 777 configs and still doesn't work. it's about the folder in /opt/librenms/html/plugins/Weathermap/configs right?

edit: solved the problem: chown apache:apache configs/ chcon -R -t httpd_cache_t configs/