diff --git a/cf-agent/verify_files.c b/cf-agent/verify_files.c index d02b9c511b..cbb0bee563 100644 --- a/cf-agent/verify_files.c +++ b/cf-agent/verify_files.c @@ -469,6 +469,10 @@ static PromiseResult VerifyFilePromise(EvalContext *ctx, char *path, const Promi Log(LOG_LEVEL_ERR, "%s. There may be a symlink in the path that has a different " "owner from the owner of its target (security risk).", msg); } + else if (errno == ENOENT) + { + Log(LOG_LEVEL_INFO, "%s - Attempting to create...", msg); + } else { Log(LOG_LEVEL_ERR, "%s", msg);