Subject: Re: chown/chgrp problem: is "." a separator or part of a name ?
To: Darren Reed <>
From: Andrew Brown <>
List: tech-userlevel
Date: 05/06/2000 12:22:07
>Consider that a username might be "", "foo", "bar" and a group
>name to match each of those.
>If I do "chown /tmp/foryou" what should happen ?
>Is the best option, in this case, to simply bail out becase the user
>is not being clear about what they want to do ?

imho, . should not be allowed as part of a username.  as part of an
alias, maybe, but not as a username.  the problem is actually that it
was never specifically disallowed, as colon was.

that's probably why sysv went with : instead of the bsd . for the
chown user:group separator.

there are probably *plenty* of characters that "shouldn't" be allowed
in usernames that aren't specifically disallowed.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."