You are not logged in.

#1 2005-09-09 18:13:27

nagoola
Member
From: Germany / Ahrensburg
Registered: 2004-03-15
Posts: 52

/var/log/messages.log - permissions reset after reboot!!!

Hi,

I am not really sure whether this is the right place to post this question, but anyway...
I try to change the permission of my /var/log/messages.log file so that my normal user can read it. Well, everytime after I reboot the permissions are at their original settings. What/who is changing that???

Thanks

(EDIT)
Could udev have something to do with it???

Offline

#2 2005-09-09 19:19:15

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: /var/log/messages.log - permissions reset after reboot!!!

If you can't view something as regular, it's more than likely a security issue. I would recommend leaving it the way it is and install and configure sudo to view the logs. Then, you can do a simple

sudo cat /var/log/messages.log

...easy

Offline

#3 2005-09-09 19:30:43

nagoola
Member
From: Germany / Ahrensburg
Registered: 2004-03-15
Posts: 52

Re: /var/log/messages.log - permissions reset after reboot!!!

i knew that it was a permissions problem - they were reset - just did not know who did that - i now know it is syslog-ng - i created a group log - like the newest version does anyway - and added the user - it now works.

still a huge THANKS!!! :-)

Offline

#4 2005-09-11 14:53:46

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: /var/log/messages.log - permissions reset after reboot!!!

Hm, that's a nicer solution than mine: editing /etc/syslog-ng.conf so the logs were readable to all. Gotta remember this post. smile


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#5 2005-09-11 15:52:58

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: /var/log/messages.log - permissions reset after reboot!!!

If you don't know why something changed after update always try cvs and bug reports first :-)

Offline

#6 2005-09-12 11:41:29

nagoola
Member
From: Germany / Ahrensburg
Registered: 2004-03-15
Posts: 52

Re: /var/log/messages.log - permissions reset after reboot!!!

well, it wasnt after an update - i tried it for the first time :-)

Offline

Board footer

Powered by FluxBB