blob: 6f31eba26d83595a13fc4aae46dadff4f6a6cb68 [file] [log] [blame]
Brad Bishop220d5532018-08-14 00:59:39 +01001From 7597cfa482e42a00a69fb9577ee523762980a9a2 Mon Sep 17 00:00:00 2001
2From: Michael Orlitzky <michael@orlitzky.com>
3Date: Thu, 28 Dec 2017 15:52:42 -0500
4Subject: 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
11CVE: CVE-2017-18018
12Upstream-Status: Backport from v8.30
13
14Signed-off-by: Michael Orlitzky <michael@orlitzky.com>
15Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
16---
17 doc/coreutils.texi | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff -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