"bad interpreter: Input/output error"

Little Girl littlergirl at gmail.com
Sun Jan 14 14:03:38 UTC 2024


Hey there,

Colin Watson wrote:

>"Input/output error" usually means a physical issue with the hardware
>(not a permission error, as some other replies have claimed).

It's true that this usually means a hardware issue and should
certainly be considered for the machine that's attempting to access
the NAS. Hardware issues can cause any number of symptoms. The
symptom Jeff is experiencing is a permission issue:

Ian Bruntlett wrote:
>> 2. When you run test.py, and get the Input/Output error, what is
>> the output of this command: echo $?  

Jeff replied :
> 126
>
> Which is interesting since that apparently points to a permissions
> problem. But again:
> -rwxr-xr-x 1 <user> <group> 47 Jan 12 14:22 
> /mnt/WD8TBNAS03/Documents/ShellScripts/test.py

I'd be curious about the permissions of the ShellScripts directory,
but would also keep in mind that incorrect permissions may be the
result of a hardware issue and should be investigated accordingly.

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list