help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cfexecd and chmod($input_dir)


From: Will Lowe
Subject: cfexecd and chmod($input_dir)
Date: Fri, 4 Jun 2004 16:57:41 -0700
User-agent: Mutt/1.5.5.1+cvs20040105i

I'm running v 2.1.0p1.

Why does cfexecd insist on doing chmod($input_dir) whenever it runs?
There's nothing secret in my cfagent configs, so I had update.conf set
to set the input dir to 0755.

Looks like the code is at line 218 in cfexecd.c:

snprintf(VBUFF,bufsize,"%s/inputs",WORKDIR);
chmod(VBUFF,0700); 
snprintf(VBUFF,bufsize,"%s/outputs",WORKDIR);
chmod(VBUFF,0700);

-- 
                                        thanks,
                
                                        Will




reply via email to

[Prev in Thread] Current Thread [Next in Thread]