summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Welbourne <eddy@chaos.org.uk>2014-03-19 16:19:08 +0000
committerPádraig Brady <P@draigBrady.com>2014-03-19 19:07:44 +0000
commitc9e410761d03be58f490e9be4196afbdc67974c8 (patch)
tree458ae256e5a7d042eacc0d32fef2ab367e07c78d
parent137a4239751802b7d59ac3ef9c42fbe03547b2bc (diff)
downloadcoreutils-c9e410761d03be58f490e9be4196afbdc67974c8.tar.xz
doc: avoid regex ambiguity in chmod mode description
* man/chmod.x: s/[+-=]/[-+=]/ * doc/perm.texi (Symbolic Modes): Likewise. * THANKS.in: Remove patch owner. Fixes http://bugs.gnu.org/17041
-rw-r--r--THANKS.in1
-rw-r--r--doc/perm.texi2
-rw-r--r--man/chmod.x2
3 files changed, 2 insertions, 3 deletions
diff --git a/THANKS.in b/THANKS.in
index 267026597..20654fe5f 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -179,7 +179,6 @@ Doug McLaren dougmc@comco.com
Dragos Harabor dharabor@us.oracle.com
Duncan Roe duncanr@optimation.com.au
Edward Schwartz edmcman@cmu.edu
-Edward Welbourne eddy@opera.com
Edzer Pebesma Edzer.Pebesma@rivm.nl
Egmont Koblinger egmont@uhulinux.hu
Eirik Fuller eirik@hackrat.com
diff --git a/doc/perm.texi b/doc/perm.texi
index 60e91607e..0bccc6399 100644
--- a/doc/perm.texi
+++ b/doc/perm.texi
@@ -148,7 +148,7 @@ their previous values, and perhaps on the current @code{umask} as well
The format of symbolic modes is:
@example
-@r{[}ugoa@dots{}@r{][}+-=@r{]}@var{perms}@dots{}@r{[},@dots{}@r{]}
+@r{[}ugoa@dots{}@r{][}-+=@r{]}@var{perms}@dots{}@r{[},@dots{}@r{]}
@end example
@noindent
diff --git a/man/chmod.x b/man/chmod.x
index e5372db27..190191f43 100644
--- a/man/chmod.x
+++ b/man/chmod.x
@@ -16,7 +16,7 @@ which can be either a symbolic representation of changes to make, or
an octal number representing the bit pattern for the new mode bits.
.PP
The format of a symbolic mode is [\c
-\fBugoa\fP.\|.\|.][[\fB+-=\fP][\fIperms\fP.\|.\|.].\|.\|.],
+\fBugoa\fP.\|.\|.][[\fB-+=\fP][\fIperms\fP.\|.\|.].\|.\|.],
where
.I "perms"
is either zero or more letters from the set