From owner-freebsd-current Wed Nov 20 20:22:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A573A37B404 for ; Wed, 20 Nov 2002 20:22:45 -0800 (PST) Received: from smtp02.iprimus.net.au (smtp02.iprimus.net.au [210.50.76.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5633043E6E for ; Wed, 20 Nov 2002 20:22:39 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au ([210.50.203.117]) by smtp02.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Thu, 21 Nov 2002 15:22:26 +1100 Received: from dilbert.robbins.dropbear.id.au (ezmzgs7tm8aby63n@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id gAL4MJEi057900; Thu, 21 Nov 2002 15:22:20 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id gAL4LwKE057871; Thu, 21 Nov 2002 15:21:58 +1100 (EST) (envelope-from tim) Date: Thu, 21 Nov 2002 15:21:58 +1100 From: Tim Robbins To: Alexander Leidinger Cc: David Schultz , Garrett Wollman , freebsd-current@FreeBSD.ORG Subject: Re: Asking for tester (small patch to chown(8)/chgrp(1)) Message-ID: <20021121152158.A56883@dilbert.robbins.dropbear.id.au> References: <200211161129.gAGBTKHJ033124@lurza.secnetix.de> <20021117155159.44aeae5f.Alexander@Leidinger.net> <200211181807.gAII7u0w015430@khavrinen.lcs.mit.edu> <20021119182700.GA3030@HAL9000.homeunix.com> <20021120132743.5a46abbe.Alexander@Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021120132743.5a46abbe.Alexander@Leidinger.net>; from Alexander@Leidinger.net on Wed, Nov 20, 2002 at 01:27:43PM +0100 X-OriginalArrivalTime: 21 Nov 2002 04:22:26.0779 (UTC) FILETIME=[990B4AB0:01C29115] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 20, 2002 at 01:27:43PM +0100, Alexander Leidinger wrote: > On Tue, 19 Nov 2002 10:27:00 -0800 > David Schultz wrote: > > > > > I'm concerned about the used character: "-r" is similiar to "-R" > > > > > > Yes, `-r' would be a very poor choice for the reason you state. > > > > Agreed, but the precedent has already been set by touch(1) and > > truncate(1). If we're going to get it wrong some of the time, we > > might as well be consistent about it. > > When we don't look at the fact that neither touch nor truncate operate > recursivly... what about changing touch and truncate to allow the > proposed -c (or -i) too and mark -r as deprecated (if it isn't covered > by a standard)? I'd really rather that we didn't change this at all, even if it seems "inconsistent". Changing it would just lead to more confusion. I am also against adding new options to chown to copy ownership from existing files. Copy ownership: chown `stat -f%Su file1` file2 Copy group: chgrp `stat -f%Sg file1` file2 Copy both: chown `stat -f%Su:%Sg file1` file2 These could easily be made into shell functions or whatever... Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message