The Logging subsystem in OctoPrint prior to 1.6.0 has incorrect access control because it attempts to manage files that are not *.log files.
octoprint octoprint