0

I'm attempting to test a python script I wrote but when I attempt to run it with this command:

./simpletax.py

I get the following message:

: No such file or directory

I believe it is a permission thing since if I remove the execute privileges for the user I get the permission denied message but when I add the x back in I get the above message.

Here is the output of ls -al

 total 16
drwxr-xr-x 2 user1 user1 4096 Apr 11 21:51 .
drwxr-x--- 3 user1 user2 4096 Apr  7 20:55 ..
-rwxr-xr-x 1 user1 user1  620 Apr  7 21:57 hello.py
-rwxr-xr-x 1 user1 user1 2591 Apr 11 21:08 simpletax.py

As you can see the program I'm attempting to run (simpletax.py) has the same permissions as hello.py which runs just fine. I tried adding full rwx privileges for everyone but got the same error.

I'm really baffled at this point what I'm doing wrong, any help is really appreciated!

Rostro
  • 148
  • 2
  • 3
  • 15

0 Answers0