Skip to content

Commit 26c989b

Browse files
authored
Merge pull request #2652 from nickanderson/CFE-951/master
CFE-951: Changed default value for rxdirs
2 parents 725746b + 76e81af commit 26c989b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

reference/promise-types/files.markdown

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ body perms null_perms_body {
264264
## Bug #4862: Recursive ACLs not working by default only with perms
265265
##
266266
## Dummy perms body is used as otherwise ACLs are not applied recursively
267-
rxdirs => "true";
267+
rxdirs => "false"; # This is the default value for rxdirs
268268
}
269269
```
270270

@@ -2785,11 +2785,12 @@ on Windows (such as the Administrators group).
27852785

27862786
#### rxdirs
27872787

2788-
**Description:** true/false add execute flag for directories if read flag
2789-
is set
2788+
**Description:** true/false add execute flag for directories if read flag is set
27902789

2791-
Default behavior is to set the x flag on directories automatically if
2792-
the r flag is specified in `mode`.
2790+
When `true` set the `x` flag on directories automatically if the `r` flag is
2791+
specified in `mode`.
2792+
2793+
**Default:** `false`
27932794

27942795
**Type:** [`boolean`][boolean]
27952796

@@ -2802,6 +2803,11 @@ the r flag is specified in `mode`.
28022803
**Notes:**
28032804
This is ignored on Windows, as the permission model uses ACLs.
28042805

2806+
**History:**
2807+
2808+
* Default value changed from `true` to `false` in CFEngine 3.20.0
2809+
* Added warning if default value is not explicitly set in 3.18.2, 3.20.0
2810+
28052811
### rename
28062812

28072813
**Type:** `body rename`

0 commit comments

Comments
 (0)