Forum: Cfengine Help Subject: Can't copy file to directory through link Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18986,18986#msg-18986
I'm using Cfengine 3.0.5 on Redhat 4 and 5. I'm trying to copy a startscript to /etc/init.d, but as this is a link to /etc/rc.d/init.d, Cfengine removes the link, creates a directory and puts the file in there. If I set move_obstructions => "false", I get that Cfengine is unable to create directory /etc/init.d/script because of the link. The last paragraph of chapter 7.4.12 move_obstructions in the reference manual says that Cfengine treats links to directories as directories. But if this was the case, shouldn't the file have been copied to /etc/rc.d/init.d? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine