"Dmitry V. Levin" <[EMAIL PROTECTED]> writes:
> $ chown "`id -u`.`id -g`" .
> chown: `567.567': invalid user
> $ chown "`id -un`.`id -gn`" .
> chown: `me.me': invalid user
>
> Proposed fix along with new testcase is attached.
Thanks for finding that. While looking at your patch, I noticed a
simi
Hi,
On Wed, Jul 28, 2004 at 04:10:14PM -0700, Paul Eggert wrote:
> coreutils chown and chgrp mishandle some numeric uids and gids that
> have leading zeros. For example, "chown 010 file" is treated as
> "chown 8 file", where it should be like "chown 10 file". I discovered
> this while auditing f
coreutils chown and chgrp mishandle some numeric uids and gids that
have leading zeros. For example, "chown 010 file" is treated as
"chown 8 file", where it should be like "chown 10 file". I discovered
this while auditing for integer arithmetic problems, and installed the
following patch to fix t