On Thu, May 17, 2018 at 04:15:44PM +0200, you wrote:
Michael Stone <mst...@debian.org> writes:
It would not--POSIX does not disallow the . syntax.

(This is not my point, but in my reading
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/chown.html
does not allow it: "The BSD syntax user[. group] was changed to user[:
group] in this volume of POSIX.1-2017...")

The new syntax was introduced. It does not say anything like "MUST NOT accept . syntax".

Rather, I meant that adduser could be configured *by default* to not
require --force-badname for adding perfectly valid POSIX user names.

It can be, someone's simply decided not to. I think that's dumb, but ¯\_(ツ)_/¯

Yes.  However, chown one.two.three can still behave unexpectedly if
the "three" group and the "one.two" and "one.two.three" users all exist.
(I understand that the behavior is well defined anyway.)

There are all kinds of things that can be unexpected on a linux system if you try hard enough. We don't stop you from creating filenames with shell special characters, either.
Mike Stone

Reply via email to