summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2018-10-15 08:41:27 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2018-10-15 08:46:04 +0200
commit013054ffc2a6118dbb68eb9192f0478d48d33cfe (patch)
tree0c269d4384e6e586e796a923d592335ce7c93753
parente06438bbb6e0a0f0026459487e03f74da276ddb8 (diff)
downloadfindutils-013054ff.tar.gz
doc: fix the examples of the -perm option in the texinfo documentation
* doc/find.texi (Mode Bits): Move the misplaced '-perm -g+w,o+w' example up to the '-perm -022' example to where it belongs. The former got accidentally separated from the latter in commit 7ade936bc2c4: the patch proposed in https://sv.gnu.org/bugs/?14619 was applied in the wrong place. * NEWS (Bug fixes): Mention the fix. Reported by Ahmad ElKomey in https://sv.gnu.org/bugs/?54838
-rw-r--r--NEWS4
-rw-r--r--doc/find.texi6
2 files changed, 7 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index c60ea23..561868f 100644
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,10 @@ Some minor documentation improvements are listed in "Bug Fixes" below.
** Bug Fixes
+#54838: doc: fix the examples of the -perm option in the texinfo documentation.
+ The example '-perm -g+w,o+w' was misplaced.
+ Bug present since FINDUTILS_4_2_27-1.
+
#54262: 'find -printf "%Y"' now correctly outputs 'N' for broken symlinks
(ENOENT or ENOTDIR). Previously, it output 'l' in such a case.
Bug introduced while attempting to fix #29460 in version v4.5.8.
diff --git a/doc/find.texi b/doc/find.texi
index 0d331e9..4bd4b17 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -1252,6 +1252,9 @@ As above.
@item -perm -022
Match files that are writable by both their group and everyone else.
+@item -perm -g+w,o+w
+As above.
+
@item -perm -444 -perm /222 ! -perm /111
Match files that are readable for everybody, have at least one
write bit set (i.e., somebody can write to them), but that cannot be
@@ -1261,9 +1264,6 @@ escaped.
@item -perm -a+r -perm /a+w ! -perm /a+x
As above.
-
-@item -perm -g+w,o+w
-As above.
@end table
@quotation Warning