You are not logged in.

#1 2006-12-12 14:17:39

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Is it a bug? Or is it a feature?

G'day. I am playing with my .conkyrc and I've added a

tial -f /var/log/messages.log

in there.
As root I had to chmod this file. That's O.K.
After a reboot this file is not readable anymore for ordinary users... thats strange. Why does a reboot undo my chmod-command? The file is not re-created because I see history data from prior sessions.


Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

#2 2006-12-12 14:30:36

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Is it a bug? Or is it a feature?

this is security feature. messages.log contains information that may be used to compromise your box if world readable.

use sudo and add required info to sudoers

Offline

#3 2006-12-12 14:33:46

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Is it a bug? Or is it a feature?

you don't have to change permissions to view the log files as an ordinary user, simply add them to the log group

Offline

#4 2006-12-13 06:35:34

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Re: Is it a bug? Or is it a feature?

pressh wrote:

you don't have to change permissions to view the log files as an ordinary user, simply add them to the log group

I have to focus more on groups instead of changing file permissions, Okay, I'll adjust my mindset.


Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

Board footer

Powered by FluxBB