I'm coming across a sh: 1: permission denied error while running a python script (both with and without sudo),
but can't seem to resolve it using chmod or chown on the relevant directories and the script itself. Is there something I'm missing?
As seen in below, I have all the read/write/execute rights and ownership of the relevant directories and script (train.py and tesseract directory), but still get permission denied.
I'm new to linux (currently using Ubuntu 16.04), and have tried googling on this problem for the past couple of days to no avail, any help would be greatly appreciated!
/usr/local/src/tesseract
as a program to execute, but your text shows it is a directory. – icarus Jan 24 '17 at 6:32