Re: Bug, or me being stupid?
Andrew Walrond <[email protected]>
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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: >> >>daedalus@bob 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 <[email protected]> > > 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, >