summaryrefslogtreecommitdiff
path: root/doc
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 /doc
parente06438bbb6e0a0f0026459487e03f74da276ddb8 (diff)
downloadfindutils-013054ffc2a6118dbb68eb9192f0478d48d33cfe.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
Diffstat (limited to 'doc')
-rw-r--r--doc/find.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/find.texi b/doc/find.texi
index 0d331e92..4bd4b174 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