help-cfengine
[Top][All Lists]
Advanced

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

Re: inconsistent directory perms when using home directive


From: DRANSUTAVICIUS, CLAUDIO
Subject: Re: inconsistent directory perms when using home directive
Date: Fri, 21 May 2004 12:33:24 -0400

Hello

Could someone tell me if this works or not . I already spent a couple of days 
on it.

>From Reference Manual:

The home directive can be used as a destination, in which case cfengine will 
copy files to every user on the system.
This is handy for distributing setup files and keeping them updated:
copy:
   /local/masterfiles/.cshrc  dest=home/.cshrc mode=0600

Or am I wasting my time.

This works

  /local/masterfiles/.cshrc dest=/export/home/user1/.cshrc

Thanks

T.J.


address@hidden wrote:

> Many thanks for this report and fix.
>
> Mark
>
> On 21 May, Armin Wolfermann wrote:
> > * Kurt Lieber <address@hidden> [20.05.2004 02:36]:
> >> Can anyone confirm this behavior?
> >
> > Yes.
> >
> > The included patch seems to fix it, but some more testing would be nice.
> >
> > --- do.c.2.1.6        Sat Apr 17 16:10:33 2004
> > +++ do.c      Fri May 21 01:04:25 2004
> > @@ -3491,6 +3491,7 @@
> >     return;
> >     }
> >
> > +CheckExistingFile("*",startpath,ptr->plus,ptr->minus,ptr->action,ptr->uid,ptr->gid,&sb,ptr,ptr->acl_aliases);
> >  
> > RecursiveCheck(startpath,ptr->plus,ptr->minus,ptr->action,ptr->uid,ptr->gid,ptr->recurse,0,ptr,&sb);
> >
> >  ReleaseCurrentLock();
> >
> > Regards,
> > Armin Wolfermann
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/help-cfengine
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  address@hidden
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine






reply via email to

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