Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #22393: "Using the default value 'true' for attribute rxdirs" waning in agent run output #1383

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tree/20_cfe_basics/cfengine/files.cf
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@ body perms m(mode)
# @param mode The new mode
{
mode => "$(mode)";
rxdirs => "true";
}

##
Expand All @@ -1685,6 +1686,7 @@ body perms mo(mode,user)
{
owners => { "$(user)" };
mode => "$(mode)";
rxdirs => "true";
}

##
Expand All @@ -1698,6 +1700,7 @@ body perms mog(mode,user,group)
owners => { "$(user)" };
groups => { "$(group)" };
mode => "$(mode)";
rxdirs => "true";
}

##
Expand All @@ -1709,6 +1712,7 @@ body perms og(u,g)
{
owners => { "$(u)" };
groups => { "$(g)" };
rxdirs => "true";
}

##
Expand All @@ -1718,6 +1722,7 @@ body perms owner(user)
# @param user The username of the new owner
{
owners => { "$(user)" };
rxdirs => "true";
}

body perms system_owned(mode)
Expand All @@ -1733,6 +1738,7 @@ body perms system_owned(mode)
{
mode => "$(mode)";
owners => { "root" };
rxdirs => "true";

freebsd|openbsd|netbsd|darwin::
groups => { "wheel" };
Expand Down
3 changes: 3 additions & 0 deletions tree/20_cfe_basics/files.cf
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ body perms u_p(p)
body perms group(group)
{
groups => { "${group}" };
rxdirs => "true";
}

########################################################################
Expand All @@ -632,6 +633,7 @@ body perms mg(mode,group)
{
groups => { "${group}" };
mode => "${mode}";
rxdirs => "true";
}

body perms ncf_mog_with_option(mode,user,group)
Expand All @@ -641,6 +643,7 @@ body perms ncf_mog_with_option(mode,user,group)
# @param group The group name
# Uses the classes permission_type_mode_set, permission_type_owner_set, permission_type_group_set to guard changing perms
{
rxdirs => "true";
permission_type_owner_set::
owners => { "$(user)" };
permission_type_group_set::
Expand Down