Guys

I think my /etc/hosts permission problem might have to do with the way cfagent copies files.


"...by copying first to a file called file.cfnew on the local filesystem, and then renaming it this quickly into place."


Question is what default permission does hosts.cfnew have - I'm inclined to think it's 600 which would explain everything.

The thing is I'd really like to know when permissions on my files change - even if cfengine fixes them again over the next hour - I like
to know what's going on that's why I turned the inform flag on. If hosts.cfnew really creates a file with 600 first then I can't do that
cause it causes email alerts to be sent every hour.
Can you confirm that my theory is correct and If I just have to live with that ?


--
stucky
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to