[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] msgs test on Linux host
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] msgs test on Linux host
- From: Benedikt Kristinsson <benedikt (at) utrad.is>
- Date: Fri, 13 Mar 2009 16:59:28 +0000
- References: <20090312205523.27b878ef (at) netstation.linuxnetwork.local> <d377b1eb804388cc7493927162ccf33c (at) 192.168.10.1> <200903121803.49809.s_aiello (at) comcast.net> <235219d65289e75db3a399429e1b883b (at) imap> <1236950014.7505.17.camel (at) bk-laptop> <20090313160541.294220 (at) gmx.net>
On Fri, 2009-03-13 at 17:05 +0100, Malcolm Hunter wrote:
> > I have a slight problem with the msgs test.
> >
> > This is what shows up in the client data:
> > [msgs:/var/log/messages]
> > Cannot open logfile /var/log/messages : Permission denied
> >
> > But these are the permissions for the /var/log/messages:
> > -rwxr-x--- 1 root admin 216864 Mar 13 12:19 /var/log/messages
> >
> > And as you see, hobbit is a member of the admin group
> > # id hobbit
> > uid=504(hobbit) gid=505(hobbit) groups=505(hobbit),506(admin)
> >
> > And the hobbit client is indeed running as that user (output from ps,
> > unneccesary parts omitted)
> > hobbit 3781 [...] /usr/libexec/hobbit/client/bin/hobbitlaunch [..]
> >
> > Any ideas?
>
> Silly question: You have tried restarting the daemon, haven't you?
>
> By the way, you don't want execute permission on the messages file.
>
> Malcolm
>
hobbit had rights to read both into /var and /var/log
Looks like it worked after i restarted the client. But why? Doenst
hobbit try to read /var/log/messages every time it sends the client
data?
Benedikt