From owner-freebsd-current Mon Mar 6 11:41:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 72ADD37BDC6 for ; Mon, 6 Mar 2000 11:41:08 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id MAA00617; Mon, 6 Mar 2000 12:12:17 -0800 (PST) Date: Mon, 6 Mar 2000 12:12:17 -0800 From: Alfred Perlstein To: Dave Boers Cc: freebsd-current@FreeBSD.ORG, dalroi@wit401310.student.utwente.nl Subject: Re: Small bug in chown and chgrp ? Message-ID: <20000306121217.Z14279@fw.wintelcom.net> References: <20000306203608.B26973@relativity.student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000306203608.B26973@relativity.student.utwente.nl>; from djb@wit389306.student.utwente.nl on Mon, Mar 06, 2000 at 08:36:08PM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dave Boers [000306 12:08] wrote: > Hi all, > > I've been bitten by the following: > > 44 relativity ~ % chown -v djb:wheel test > chown: illegal option -- v > usage: chown [-R [-H | -L | -P]] [-f] [-h] [-v] owner[:group] file ... > chown [-R [-H | -L | -P]] [-f] [-h] [-v] :group file ... > chgrp [-R [-H | -L | -P]] [-f] [-h] [-v] group file ... > > Where "test" is an ordinary directory. > > It seems that chown's behavior is inconsistent with both the usage message > and the man page. The same goes for chgrp. have you deleted your stale copies of chown/chgrp? hint look in /bin /sbin /usr/bin /usr/sbin and make sure the old ones aren't "in the way". -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message