Forum: Cfengine Help Subject: Re: Setting perms on home directory files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17127,17139#msg-17139
I think you can use the readstringarray and skip the command promise altogether. Use the skip regex, that now skips comment lines, to also negate any lines that don't match the home pattern. Probably something like #|[^admin|civei|cmo|dba|dit|perfmgmt|cmisradm|root][^\n]* _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine