bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug, or me being stupid?


From: Andrew Walrond
Subject: Re: Bug, or me being stupid?
Date: Wed, 05 Feb 2003 14:21:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021020

Ah - thanks! I'll upgrade and see how I get on

Richard Dawe wrote:
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,







reply via email to

[Prev in Thread] Current Thread [Next in Thread]