On Wed, 3 Aug 2005, Jim Wight wrote: > The owner of file2 is, as expected, corrected on the second run. There > is no mention of the default mode under 'touch', but the documentation > says that it is 0644 for 'create'; however, it gets it wrong too. Of > course it is easy enough to get the modes right by setting them > explicitly.
I think the permissions part is related to bugid 1200868 http://sourceforge.net/tracker/index.php?func=detail&aid=1200868&group_id=126712&atid=706640 I tracked it down to this little snippet, but I had a hard time wrapping my head around the bit ops: (wrapper.c:195 ff) filemode = DEFAULTMODE; /* Decide the mode for filecreation */ filemode |= ptr->plus; filemode &= ~(ptr->minus); I'll run your config through gdb and see where the ownership problems are coming from. -- - Eric Sorenson - N37 17.255 W121 55.738 - http://eric.explosive.net - - Personal colo with a professional touch - http://www.explosive.net - _______________________________________________ Bug-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cfengine
