GNOME Bugzilla – Bug 365058
strange error message "not a log file" if chmod 0600 /var/log/messages
Last modified: 2007-07-07 11:40:50 UTC
If one does a chmod 600 /var/log/messages (essentially locking it down so that only root can read from and write to it), and then attempt to open it in the Gnome log viewer as a non-root user, the error dialog pops up: [error] One file or more could not be opened /var/log/messages is not a log file. This is a rather silly error message, as cat on the same file gives a message that is slightly more reasonable: cat: /var/log/messages: Permission denied Presumably this is a "catchall" message, covering among other things the failure to open the file and formatting problems within the file.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 349756 ***