"bad interpreter: Input/output error"
Jon LaBadie
ubu at labadie.us
Sun Jan 14 06:48:22 UTC 2024
On Sat, Jan 13, 2024 at 08:23:53AM -0800, Jeff wrote:
>
>Sure, here you go. I submitted this command:
>
>head -1 /mnt/WD8TBNAS03/Documents/ShellScripts/test.py | od -A x -t x1z -v
>
My prior errors giving "Input/Output error" have been related
to directory access/permissions. I'd suggest checking each
of the directories in the path to the script, i.e. each of:
/mnt/WD8TBNAS03/Documents/ShellScripts
/mnt/WD8TBNAS03/Documents
/mnt/WD8TBNAS03
/mnt
/
Another confirmation of directory problems would be to
temporarily add each of the above directories to your
PATH variable:
PATH=$PATH:/:/mnt:/mnt/WD8TBNAS03:/mnt/WD8TBNAS03/Documents:\
/mnt/WD8TBNAS03/Documents/ShellScripts
Move test.py to "/" and check for expected behavior. Move it
then to /mnt and recheck. Repeat until you get the undesired
behavior.
--
Jon H. LaBadie ubu at labadie.us
More information about the ubuntu-users
mailing list