[NTLUG:Discuss] cpio

Patrick R. Michaud pmichaud at pobox.com
Fri Nov 26 09:18:51 CST 2004


On Fri, Nov 26, 2004 at 07:03:44AM -0800, Fred wrote:
> I am trying to copy an encrypted file from one directory tree
> to another and cp fails with an i/o error. (yes, the file is
> ok) 

Ummm, assuming that you did mean "cp" here, I can't imagine any
situation where cp(1) would fail that cpio(1) would then be able to
resolve it.  The cp(1) command doesn't care (or know) if the file is
encrypted or not...as far as it's concerned, it's just a stream
of bytes.

Are you getting something more descriptive than "i/o error"?

How large is the file being copied?

Did you try copying the file into somewhere such as /var/tmp or /tmp
to see if that would work?

How about copying the file into the same directory under a different
name?

Pm



More information about the Discuss mailing list