Daily file permission issue

Everyday, I will get multiple file permission error from validate config, especially from the views directory. So everyday, I will execute **chmod -R ug=rwX *** as root in /opt/librenms/storage/framework/views

Is there a permanent solution to resolve this?

At this time no. Can’t be fixed until the legacy PHP session usage is removed.

For views it is probably ok. As long as the webserver can write to them. If a file needs to be written to by both the CLI and the WebUI, then this permissions issue could cause an error.

The message is a bit overcautious at this time.

1 Like

Thanks for the clarification! :slight_smile: