Hi,
There appears to be a problem with the chown command such that the
--from option doesn't work. The argument passed to --from is never
used. The following patch fixes the bug:
--- fileutils-4.1/src/chown.c.orig Tue May 8 10:50:55 2001
+++ fileutils-4.1/src/chown.c Tue May 8 11:43:45 2001
@@ -173,11 +173,11 @@
case FROM_OPTION:
{
char *u_dummy, *g_dummy;
- const char *e = parse_user_spec (argv[optind],
+ const char *e = parse_user_spec (optarg,
&old_uid, &old_gid,
&u_dummy, &g_dummy);
if (e)
- error (1, 0, "%s: %s", quote (argv[optind]), e);
+ error (1, 0, "%s: %s", quote (optarg), e);
break;
}
case 'R':
Regards,
Chris.
--
[EMAIL PROTECTED]
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils