My point is that the promise is still changing permissions even though no permissions are specifically promised. It seems that the agent defaults to setting the target permissions to match the source permissions.
Sincerely, -- Neil Watson 416-673-3465 help-cfengine-boun...@cfengine.org wrote on 2010-01-13 04:40:00: > > I'm not sure what you are saying here. > > Neil Watson wrote: > > On Mon, Jan 11, 2010 at 07:28:58AM +0100, Mark Burgess wrote: > >> > >> Neil. You are correct that this option was not implemented. The > >> default value of all > >> boolean type /true/false options is always false, so preserving > >> original perms should not > >> be the default behaviour. I have patched svn to fix this. > > > > I think I spoke to soon. > > ettin:/var/cf-masterfiles/config/trunk/inputs# ls -l /tmp/*foo* > > -rw-r--r-- 1 neil neil 4 2010-01-11 20:27 /tmp/foobar > > -r--r--r-- 1 neil neil 4 2010-01-11 20:26 /tmp/src-foobar > > > > # cf-agent -Kvf ./test.cf|less cf3 cf3 -> Handling file existence > > constraints on /tmp/foobar > > cf3 -> Copy file /tmp/foobar from /tmp/src-foobar check > > cf3 -> Destination file /tmp/foobar already exists > > cf3 -> Object /tmp/foobar had permission 644, changed it to 444 > > cf3 -> File /tmp/foobar is an up to date copy of source > > cf3 Performance(Copy(localhost:/tmp/src-foobar > /tmp/foobar)): > > time=0.0003 secs, av=0.0003 +/- 0.0016 > > cf3 Existing connection just became free... > > > > Can you reproduce this? Have I made a mistake? > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Help-cfengine mailing list > > Help-cfengine@cfengine.org > > https://cfengine.org/mailman/listinfo/help-cfengine > > -- > Mark Burgess > > ------------------------------------------------- > Professor of Network and System Administration > Oslo University College, Norway > > Personal Web: http://www.iu.hio.no/~mark > Office Telf : +47 22453272 > ------------------------------------------------- > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine
CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage exclusif de la personne à laquelle il s’adresse et peut contenir de l’information personnelle ou confidentielle. Si le lecteur de ce message n’en est pas le destinataire, nous l’avisons par la présente que toute diffusion, distribution, reproduction ou utilisation de son contenu est strictement interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier électronique et supprimez ce message ainsi que toutes les pièces jointes.
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine