[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug, or me being stupid?
From: |
Richard Dawe |
Subject: |
Re: Bug, or me being stupid? |
Date: |
Wed, 05 Feb 2003 14:16:10 +0000 |
Hello.
Andrew Walrond wrote:
> I want to copy a dir, preserving modes and timestamps but assuming
> ownership, and I keep getting this error:
>
> address@hidden daedalus $ cp -r --preserve=mode,timestamps fly fly2
> cp: ambiguous argument `' for `--preserve'
> Valid arguments are:
> - `mode'
> - `timestamps'
> - `ownership'
> - `links'
> - `all'
> Try `cp --help' for more information.
>
> Am I being stupid, or is this a bug? I'm using coreutils-4.5.3.
It looks like it's been fixed in coreutils 4.5.4. From ChangeLog:
2002-12-11 TAKAI Kousuke <address@hidden>
Fix a bug whereby cp would fail to parse an option like
--preserve=mode,ownership.
* src/cp.c (decode_preserve_arg): Advance `comma' to
point the character following the comma.
coreutils 4.5.5 is out now.
Regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]