From 52007a8cf8e565a9578ec116b85253372aa5d810 Mon Sep 17 00:00:00 2001 From: helbig Date: Sat, 2 May 1998 12:57:57 +0000 Subject: Don't ignore symbolic links in the absence of -h, -H or -L options. Instead change the user ID/group ID of the file that the link points to. --- usr.sbin/chown/chown.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/chown') diff --git a/usr.sbin/chown/chown.c b/usr.sbin/chown/chown.c index f6c9b7d..8eb75f7 100644 --- a/usr.sbin/chown/chown.c +++ b/usr.sbin/chown/chown.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)chown.c 8.8 (Berkeley) 4/4/94"; #else static const char rcsid[] = - "$Id: chown.c,v 1.9 1997/09/21 09:13:57 wosch Exp $"; + "$Id: chown.c,v 1.10 1998/03/09 08:54:31 jkh Exp $"; #endif #endif /* not lint */ @@ -165,7 +165,6 @@ main(argc, argv) warnx("%s: %s", p->fts_path, strerror(p->fts_errno)); rval = 1; continue; - case FTS_SL: /* Ignore. */ case FTS_SLNONE: /* * The only symlinks that end up here are ones that -- cgit v1.1