From owner-freebsd-current Mon Mar 6 11:36: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from relativity.student.utwente.nl (wit389306.student.utwente.nl [130.89.234.166]) by hub.freebsd.org (Postfix) with ESMTP id 1CCEB37BC3C for ; Mon, 6 Mar 2000 11:35:59 -0800 (PST) (envelope-from djb@wit389306.student.utwente.nl) Received: by relativity.student.utwente.nl (Postfix, from userid 1000) id AF1A05D7D; Mon, 6 Mar 2000 20:36:08 +0100 (CET) Date: Mon, 6 Mar 2000 20:36:08 +0100 From: Dave Boers To: freebsd-current@freebsd.org Cc: dalroi@wit401310.student.utwente.nl Subject: Small bug in chown and chgrp ? Message-ID: <20000306203608.B26973@relativity.student.utwente.nl> Reply-To: djb@relativity.student.utwente.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Regards, Dave Boers. -- Dave Boers < djb @ relativity . student . utwente . nl > Don't let your schooling interfere with your education. (Mark Twain) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message