On Sat, Oct 4, 2008 at 12:36 PM, Jack Woehr <[EMAIL PROTECTED]> wrote:
> In the following example, I'm trying to copy a file (wrongly)
> in a directory I don't own and which is write-protected:
>
>   cp factor.rex factor.rex.bak
>   cp: factor.rex.bak: Invalid character in program
>
> "Invalid character in program"??
>
> rm also returns this when I use rm illegally. Was it always
> like this?

Hmm, I don't see that error message in the stock /bin/cp or /bin/rm.
Are you running your own version of them or have shell script wrappers
for them or something?  What's the output of "which cp rm"?

Philip Guenther

Reply via email to