You are not logged in.

#1 2008-03-11 14:09:11

anadyr
Member
Registered: 2005-02-10
Posts: 225

everything.log permissions

Hi,

I started conky with ${exec tail -n10 /var/log/everything.log} so that I can see what's happening, but the file permission is set to unreadable for normal users. I change it to readable and then it shows everything.log on the desktop, but after a reboot the permission is set to unreadable again. How do I change this so that the file will always be readable?

Rogier

Offline

#2 2008-03-11 14:22:32

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: everything.log permissions

I believe the correct way to do this is to just add your user to the 'log' group, which should be able to read everything.log (and various other system logs).


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#3 2008-03-11 14:50:51

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: everything.log permissions

Oh yeah it works. thanks

Offline

#4 2009-01-15 09:22:45

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: everything.log permissions

When I run ${exec tail -n10 /var/log/everything.log} nothing happen and I get error:

Jan 15 10:08:18 laptop conky[3042] general protection ip:7f1e7d4ba460 sp:7fff87acdcc8 error:0 in libc-2.9.so[7f1e7d440000+14a000]

My user is in log group,this is my conkyrc:

background no
#font Snap.se:size=8
#xftfont Snap.se:size=8
font Eurostile:size=10
use_xft yes
xftfont Eurostile:size=10
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 500 5
maximum_width 500
default_color 00ff00
default_shade_color 000000
default_outline_color 000000
alignment bottom_left
gap_x 6
gap_y 6
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no

TEXT
${execi 60 tail -n20 /var/log/everything.log}

SOLVED
working  ${exec tail -n20 /var/log/everything.log}

Last edited by na12 (2009-01-15 18:43:04)

Offline

#5 2009-02-03 18:04:36

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: everything.log permissions

na12,

i just got that same error today with seemingly no cause (i don't have any log calls and i wasn't even at my computer when it happened).

what exactly solved this for you?

Offline

Board footer

Powered by FluxBB