There is something odd going on here. I have a test directory:
bash-3.2# ls -Old@ /testdir
-rwxrwxrwt 1 root admin - 0 Mar 3 22:49 /testdir
Now, if I run CFEngine, with a simple configuration to set the permissions on
the directory:
bash-3.2# /opt/cfengine/sbin/cf-agent -K -f osx-permissions.cf -v |grep flag
cf3 -> /testdir had flags 0, changed it to 400000
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For some reason, the system immutable flag is set:
bash-3.2# ls -Old@ /testdir -rwxrwxrwt 1 root admin schg 0 Mar 3 22:49
/testdir
My configuration is this, :
bundle agent osx_permissions
{
files:
"/testdir"
create => "true",
perms => system("1777");
}
body perms system(s)
{
mode => $(s);
}
Have I missed something, or is this a bug?
--
Anders Skolseg Bruvik <[email protected]>
USIT (BSD), University of Oslo
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine