From owner-freebsd-stable Fri Jul 5 8:48: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8340737B401 for ; Fri, 5 Jul 2002 08:47:54 -0700 (PDT) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF2B43E31 for ; Fri, 5 Jul 2002 08:47:53 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.35.174] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 17QVJ8-0004ub-00 for freebsd-stable@freebsd.org; Fri, 05 Jul 2002 10:47:42 -0500 Date: Fri, 5 Jul 2002 10:49:44 -0500 From: Stephen Hilton To: freebsd-stable@freebsd.org Subject: chown syntax changed "POLA" Message-Id: <20020705104944.5556b3b9.nospam@hiltonbsd.com> Organization: HiltonBSD.com X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings, From "man chown": COMPATIBILITY Previous versions of the chown utility used the dot (``.'') character to distinguish the group name. This has been changed to be a colon (``:'') character so that user and group names may contain the dot character. From CVSWeb: MFC: In the SUPPORT_DOT case, warn that seperation with a period is deprecated. In -STABLE, this is default, in -CURRENT it is not, which leads to many a headache for a user coming to -CURRENT without remembering this fact. It is one of the POLA violations we have not avoided by preparing the users for it appopriately. Therefore, a warnx(3) is added here, explicitly to be MFC'd shortly to start the re-education process rolling. Reviewed by: General murmurs of approval in that IRC channel. Revision Changes Path 1.22 +1 -0 src/usr.sbin/chown/chown.c Wow, this really caught me by surprise! Time to review and update my shell scripts. Am i correct in assuming that this will be the "defacto standard" for chown in FreeBSD 4.7 and 5 ?, and how about script compatability across different UNIX's ? Regards, Stephen Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message