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