[4087] in arla-drinkers
Re: Simple patch for pts.c
daemon@ATHENA.MIT.EDU (Jeffrey Hutzelman)
Mon Nov 20 17:55:41 2006
From arla-drinkers-bounces@stacken.kth.se Mon Nov 20 22:55:41 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 10728 invoked from network); 20 Nov 2006 22:55:41 -0000
Received: from mx1.kth.se (130.237.32.140)
by charon.mit.edu with SMTP; 20 Nov 2006 22:55:41 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx1.kth.se (Postfix) with ESMTP id E5904141019;
Mon, 20 Nov 2006 23:55:38 +0100 (CET)
Received: from mx1.kth.se ([127.0.0.1])
by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 05562-01-25; Mon, 20 Nov 2006 23:55:36 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx1.kth.se (Postfix) with ESMTP id 5AEE3140FF6;
Mon, 20 Nov 2006 23:55:30 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 94BDF5350C;
Mon, 20 Nov 2006 23:55:29 +0100 (CET)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id 099F85350C
for <arla-drinkers@tapas.stacken.kth.se>;
Mon, 20 Nov 2006 23:55:26 +0100 (CET)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id kAKMtQea023298
for <arla-drinkers@stacken.kth.se>;
Mon, 20 Nov 2006 23:55:26 +0100 (MET)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx3.kth.se (Postfix) with ESMTP id 61FF3140C41
for <arla-drinkers@stacken.kth.se>;
Mon, 20 Nov 2006 23:55:26 +0100 (CET)
Received: from mx3.kth.se ([127.0.0.1])
by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 26335-01-46 for <arla-drinkers@stacken.kth.se>;
Mon, 20 Nov 2006 23:55:23 +0100 (CET)
Received: from chokecherry.srv.cs.cmu.edu (CHOKECHERRY.SRV.CS.CMU.EDU
[128.2.185.41]) by mx3.kth.se (Postfix) with ESMTP id 3C4EB140C4F
for <arla-drinkers@stacken.kth.se>;
Mon, 20 Nov 2006 23:55:22 +0100 (CET)
Received: from SIRIUS.FAC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.209.170])
(authenticated bits=0)
by chokecherry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id
kAKMtFoJ006385
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Mon, 20 Nov 2006 17:55:15 -0500 (EST)
Date: Mon, 20 Nov 2006 17:55:15 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Tomas Olsson <tol@it.su.se>
Subject: Re: Simple patch for pts.c
Message-ID: <1B1B961BF3613F9E741D7CAC@sirius.fac.cs.cmu.edu>
In-Reply-To: <lsry7qbk268.fsf@kashyyyk.ite.kth.se>
References: <rqcac306v6u.fsf@kashyyyk.ite.kth.se>
<lsrzmazocsv.fsf@kashyyyk.ite.kth.se>
<D33D3228511FF65F48308BF2@sirius.fac.cs.cmu.edu>
<lsry7qbk268.fsf@kashyyyk.ite.kth.se>
Originator-Info: login-token=Mulberry:01wsdfSywv1L8OEtfM9UWPulk5lnZJ+9gvPI2w+Ec=;
token_authority=postmaster@andrew.cmu.edu
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Disposition: inline
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
Cc: Rasmus Kaj <kaj@kth.se>, Jeffrey Hutzelman <jhutz@cmu.edu>,
arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
On Thursday, November 16, 2006 01:26:39 PM +0100 Tomas Olsson
<tol@it.su.se> wrote:
> Jeffrey Hutzelman <jhutz@cmu.edu> writes:
>
>> On Friday, November 10, 2006 10:45:20 AM +0100 Tomas Olsson
>> <tol@it.su.se> wrote:
>>
>> > Thanks. The original mistake was most likely in that this is the only
>> > place where the host argument was added after 'cell', so I'd prefer
>> > just reordering the command's arguments for consistency. Would that
>> > cause any problems (like widely deployed arla-dependent scripts for
>> > example)?
>> >
>> > It would also make it slightly less different from the OpenAFS version,
>> > which is good.
>>
>> I'm not sure I follow this. OpenAFS doesn't have a -host argument to
>> pts chown, or any other pts subcommand. Maximal compatibility with
>> OpenAFS would require putting any new arguments last, and preferably
>> requiring that the corresponding switches be given explicitly.
>>
> Good catch. It was meant to read "...was added after 'cell'".
>
> You're very correct, hopefully what went into CVS was almost as
> correct. We ended up with
> pts chown [-name] user/group [-owner] owner [-cell cellname] [-host
> server] [-noauth] which should match the other commands that got a 'host'
> arg back in the good ol' days.
Yup, that looks good.
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers