Hi, Many thanks both og you for pointing me in the right direction!
I did give the smokeping user ownership of the file but still got the permission problem. After a while I realised that the issue was that the SpeedyCGI module was running as www-data. Once I gave www-data access to the file it all worked fine :-) Thanks for helping me learn! Cheers, Joakim 2011/6/18 G.W. Haywood <[email protected]>: > Hi there, > > 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. > > -- > > 73, > Ged. > _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
