[smokeping-users] Master/Slave configuration trouble

Eric Chatham echatham at broadvox.com
Wed Jun 10 18:54:35 CEST 2009


On Wednesday, June 10, 2009 12:50, Ged wrote,


> You're going to need to do some reading about filesystem things.  You
> gave the file various nonsensical permissions.  That last one for
> example was owner read, write and execute, group and world execute
> only (not read, not write).  You would normally use something like 640
> (to put it another way, owner read+write, group read only, world none).
> A configuration file almost never needs any execute permissions.
>
> I'd probably make the file owned by the same user that's running the
> daemon which needs to read the file, and make the permissions 600
> (rw,none,none).
>
> http://www.zzee.com/solutions/linux-permissions.shtml

Hi Ged.  Would this work?

# chmod og=r /opt/smokeping/etc/secrets.conf

Would this allow the file to be read publically?

CONFIDENTIAL.  This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.



More information about the smokeping-users mailing list