[CentOS] input/output error while copy

Fri Jan 14 15:06:51 UTC 2011
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Fri, 14 Jan 2011, Robert Spangler wrote:

> On Friday 14 January 2011 04:01, Ritika Garg wrote:
>
>>  When I give the command "cp file1 file2" then the error comes:
>>  cp: cannot create regular file `file2': Input/output error
>>
>>  This occurs sometimes and it occurs when I am giving the command inside a
>>  external hard disk which is mounted by "ntfs-3g" manually.
>>  Why does this error come?
>
> I believe it is self explanatory.  Looks like you don't have write
> permissions on the drive.  Check your permissions.

Since when does Input/output error equate to a permissions problem?  If that's
the case, surely that's a bug in ntfs-3g as it's returning the wrong error
code.

jh