Forum: CFEngine Help
Subject: Re: Fix group only for files in .svn dir
Author: Igor
Link to topic: https://cfengine.com/forum/read.php?3,23681,23688#msg-23688
Looks like a bug in 3.2.1.
In 3.1.1 it not reproduced and works as expected:
With:
body depth_search _recurse_only_svn(d)
{
depth => "$(d)";
include_dirs => { "\.svn" };
}
cf3 =========================================================
cf3
cf3 Extended process options are only available with Cfengine Nova or above
cf3
cf3 .........................................................
cf3 Promise handle:
cf3 Promise made by: /var/svn/dirs.*
cf3 .........................................................
cf3
cf3 -> Using regex pathtype for /var/svn/dirs.* (see pathtype)
cf3 -> Using expanded file base path /var/svn/dirs1
cf3 -> Handling file existence constraints on /var/svn/dirs1
cf3 -> Group of /var/svn/dirs1 was 0, setting to 787
cf3 -> File permissions on /var/svn/dirs1 as promised
cf3 ->> Entering /var/svn/dirs1/.svn (0)
cf3 -> Handling file existence constraints on /var/svn/dirs1/.svn
cf3 -> Group of /var/svn/dirs1/.svn was 0, setting to 787
cf3 -> File permissions on /var/svn/dirs1/.svn as promised
cf3 Skipping matched non-included directory /var/svn/dirs1/123
cf3 Skipping matched non-included directory /var/svn/dirs1/TEST
cf3 Skipping matched non-included directory /var/svn/dirs1/TEST2
cf3 -> Using expanded file base path /var/svn/dirs2
cf3 -> Handling file existence constraints on /var/svn/dirs2
cf3 -> Group of /var/svn/dirs2 was 0, setting to 787
cf3 -> File permissions on /var/svn/dirs2 as promised
--
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine