Tom Tromey <[EMAIL PROTECTED]> writes:
| I tried to create a user "m.ring" on sourceware.
| Then I did "chown -R m.ring /home/m.ring"
| chown complains about the username, perhaps because it is
| misinterpreting it as "user m, group ring" (?).
|
|     [root@sourceware ~m.ring]# chown -R m.ring .
|     chown: m.ring: invalid user

Thanks for the report.
That was fixed for fileutils-4.0q:

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0q.tar.gz

  * chown now works properly when the specified login name contains a period
    This is at the expense of always looking up the entire USER.GROUP string
    as a login name first, and only then (upon failure) interpreting the `.'
    as a separator and looking up `USER'.  To avoid the extra getpwnam call,
    always use the POSIX-mandated `:' character as the separator.

Reply via email to