Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 21:05:23 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Alan Clegg <abc@bsdi.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: username with -
Message-ID:  <20001009210523.B12559@peitho.fxp.org>
In-Reply-To: <20001009210043.A98723@diskfarm.firehouse.net>; from abc@bsdi.com on Mon, Oct 09, 2000 at 09:00:43PM -0400
References:  <200010091802.MAA13347@harmony.village.org> <Pine.BSF.4.21.0010091741150.84731-200000@dt051n37.san.rr.com> <20001009210043.A98723@diskfarm.firehouse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 09, 2000 at 09:00:43PM -0400, Alan Clegg wrote:
> To those that wish to allow "." (dot) in usernames, please don't do
> this.  Note commands like chown that use it (dot) as a seperator between
> login name and group.
> 
> 		chown -R abc.staff .
> 
> Having login names with dots in them confuses the heck out of this command.
> 

From chown(8):

SYNOPSIS
     chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
     chown [-fhv] [-R [-H | -L | -P]] :group file ...

...

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.


-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


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?20001009210523.B12559>