Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108395 - Syslog-ng needs to allow regular users to view /var/log/messages
Summary: Syslog-ng needs to allow regular users to view /var/log/messages
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 08:42 UTC by Rouslan Solomakhin
Modified: 2005-10-07 09:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rouslan Solomakhin 2005-10-07 08:42:14 UTC
As of now, syslog-ng sets permissions of /var/log/messages to 0640 (root:root),
which prohibits regular users from viewing this file. I propose that we put the
line "perm(0664);" inside of section "options" in file
/etc/syslog-ng/syslog-ng.conf.


Reproducible: Always
Steps to Reproduce:
1. emerge syslog-ng
2. /etc/init.d/syslog-ng start
3. tail -f /var/log/messsage
Actual Results:  
Permission denied to view the file.

Expected Results:  
I should be able to view the file.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-07 09:41:49 UTC
I have no idea why users should be allow to view syslog by default. If you need
it, then adjust the permissions yourself.