[smokeping-users] Smokeping Master/Slave permission/denied problem
ged at jubileegroup.co.uk
Sat Jun 18 18:24:57 CEST 2011
On Sat, 18 Jun 2011, Joakim Westin wrote:
> sudo chmod 0440 /etc/smokeping/smokeping_secrets
> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
> Permission denied
> Can anyone give me a clue as to how the permissions should be set for
> the master/slave to work OK?
It's probably the file ownership that's the problem, not the permissions.
The file should be owned by the UID that's running the process which is
complaining about reading it. Try using
chown user /etc/smokeping/smokeping_secrets
where "user" is the userid of the smokeping process.
More information about the smokeping-users