After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 365058 - strange error message "not a log file" if chmod 0600 /var/log/messages
strange error message "not a log file" if chmod 0600 /var/log/messages
Status: RESOLVED DUPLICATE of bug 349756
Product: gnome-utils
Classification: Deprecated
Component: logview
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-25 17:39 UTC by Eric Williams
Modified: 2007-07-07 11:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Eric Williams 2006-10-25 17:39:44 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.
Comment 1 Teppo Turtiainen 2007-07-07 11:40:50 UTC
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 ***