Brad Bishop | 220d553 | 2018-08-14 00:59:39 +0100 | [diff] [blame] | 1 | From 7597cfa482e42a00a69fb9577ee523762980a9a2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Michael Orlitzky <michael@orlitzky.com> |
| 3 | Date: Thu, 28 Dec 2017 15:52:42 -0500 |
| 4 | Subject: doc: clarify chown/chgrp --dereference defaults |
| 5 | |
| 6 | * doc/coreutils.texi: the documentation for the --dereference |
| 7 | flag of chown/chgrp states that it is the default mode of |
| 8 | operation. Document that this is only the case when operating |
| 9 | non-recursively. |
| 10 | |
| 11 | CVE: CVE-2017-18018 |
| 12 | Upstream-Status: Backport from v8.30 |
| 13 | |
| 14 | Signed-off-by: Michael Orlitzky <michael@orlitzky.com> |
| 15 | Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> |
| 16 | --- |
| 17 | doc/coreutils.texi | 4 ++-- |
| 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 19 | |
| 20 | diff -Naurp coreutils-8.27_org/doc/coreutils.texi coreutils-8.27/doc/coreutils.texi |
| 21 | --- coreutils-8.27_org/doc/coreutils.texi 2018-07-22 21:09:50.128736692 -0700 |
| 22 | +++ coreutils-8.27/doc/coreutils.texi 2018-07-22 21:12:59.972219770 -0700 |
| 23 | @@ -10952,7 +10952,7 @@ chown -h -R --from=OLDUSER NEWUSER / |
| 24 | @cindex symbolic links, changing owner |
| 25 | @findex lchown |
| 26 | Do not act on symbolic links themselves but rather on what they point to. |
| 27 | -This is the default. |
| 28 | +This is the default when not operating recursively. |
| 29 | |
| 30 | @item -h |
| 31 | @itemx --no-dereference |
| 32 | @@ -11082,7 +11082,7 @@ changed. |
| 33 | @cindex symbolic links, changing owner |
| 34 | @findex lchown |
| 35 | Do not act on symbolic links themselves but rather on what they point to. |
| 36 | -This is the default. |
| 37 | +This is the default when not operating recursively. |
| 38 | |
| 39 | @item -h |
| 40 | @itemx --no-dereference |