chown --dereference did nothing when the owner/group of a
authorJim Meyering <jim@meyering.net>
Sun, 16 May 2004 21:39:35 +0000 (21:39 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 16 May 2004 21:39:35 +0000 (21:39 +0000)
commit37adce26809835f0ea8d96035e1f9cd93ab22645
tree347a46cbad796b4186e4527f6707984e21683feb
parent23e13a64a8d318bf8632c763399b1546709f8cc9
chown --dereference did nothing when the owner/group of a
symlink matched the desired owner/group.  Reported by David Malone.
Also reported in 1999 as http://bugs.debian.org/39642.

(change_file_owner): When --dereference has
been specified, and when processing a symlink, stat it to get the
owner and group of the referent.
src/chown-core.c