Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 10:49:44 -0500
From:      Stephen Hilton <nospam@hiltonbsd.com>
To:        freebsd-stable@freebsd.org
Subject:   chown syntax changed "POLA"
Message-ID:  <20020705104944.5556b3b9.nospam@hiltonbsd.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020705104944.5556b3b9.nospam>