Anyone? Sincerely, -- Neil Watson 416-673-3465
help-cfengine-boun...@cfengine.org wrote on 2009-12-31 14:36:23: > Greetings, > > In discussing file promises it is suggested in the reference, and on > this list, that sometimes it is desirable to have separate promises to > mind the contents and permissions of a single file. In this way one can > be assured of the meaning of a promise kept class. I think I've found a > problem with this. > > When a file promise deals with just the contents I still see the promise > change permissions to a default of 0644. A later promise for > permissions must correct this problem. This cycle occurs every run. > For example: > cf3 -> Destination file /etc/apache2/sites-available/technocrat.conf > already exists > cf3 -> Object /etc/apache2/sites-available/technocrat.conf had > permission 600, changed it to 644 > cf3 ?> defining promise result class > _etc_apache2_sites_available_technocrat_conf_copy_repaired > cf3 -> File /etc/apache2/sites-available/technocrat.conf is an up to > date copy of source > cf3 ?> defining promise result class > _etc_apache2_sites_available_technocrat_conf_copy_kept > > There is something called preserve for a copy_from body but that deals > with the source files. Is there a way to have the copy promise either > ignore all permissions or preserve the current target permissions? > > Sincerely, > -- > Neil Watson > Linux/UNIX Consultant > http://watson-wilson.ca > _______________________________________________ > 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