Re: RH 8.0 - "cp -f" doesn't work, it always prompts.

Richard Dawe <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Hello.

Harrison-Schaaffe wrote:
> Looks like a file copy bug
> 
> RedHat version 8.0 cp (fileutils) 4.1.9
> 
> cp -f doesn't work, it always prompts.

Do you have an alias for cp? E.g. in your .bashrc (or whatever shell you use),
do you have a line like:

    alias cp='cp -i'

This may be in the system-wide bash start-up script (/etc/bashrc?).

Anyway, to unalias it under bash, use:

    unalias cp

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.