[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chown problem (fileutil-4.0)
From: |
Jim Meyering |
Subject: |
Re: chown problem (fileutil-4.0) |
Date: |
16 Nov 2000 12:21:29 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
"Daniel Chabrol" <address@hidden> wrote:
| We use usernames like domain.com for our customers. Everything works fine
| expect the chown tool. If I try to chown a file it looks like:
|
| mail:~ # chown webonomics.de 123
| chown: webonomics.de: invalid user
|
| If I use the numeric UID it works. I suppose it is not a problem with the
| nameservices because finger, pop3, login etc. works. What can we do to?
Thanks for the report.
That's fixed in the latest test release.
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0.32.tar.gz
Here's the relevant NEWS entry:
[4.0q]
...
* 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.