help-cfengine
[Top][All Lists]
Advanced

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

Re: cfexecd and chmod($input_dir)


From: Mark . Burgess
Subject: Re: cfexecd and chmod($input_dir)
Date: Sat, 5 Jun 2004 10:12:17 +0200 (MEST)

The directory must be trusted. Why do you care?

M

On  4 Jun, Will Lowe wrote:
> 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);
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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