Hello all, I’m stuck on Stage #(The type builtin: executable files #mg5).
Here are my logs:
[compile] Moved ./.codecrafters/run.sh → ./your_program.sh
[compile] Compilation successful.
Debug = true
[tester::#OO8] Running tests for Stage #OO8 (Print a prompt)
[tester::#OO8] Running ./your_program.sh
[tester::#OO8] Failed to execute /app/your_program.sh: fork/exec /app/your_program.sh: permission denied
[tester::#OO8] Test failed
Locally everything works fine, for some reason “codecrafters test --previous” fails as well
Initiating test run...
⚡ This is a turbo test run. https://codecrafters.io/turbo
Running tests. Logs should appear shortly...
[compile] Moved ./.codecrafters/run.sh → ./your_program.sh
[compile] Compilation successful.
Debug = true
[tester::#OO8] Running tests for Stage #OO8 (Print a prompt)
[tester::#OO8] Running ./your_program.sh
[tester::#OO8] Failed to execute /app/your_program.sh: fork/exec /app/your_program.sh: permission denied
[tester::#OO8] Test failed
That makes me believe something is wrong with the test jobs
And I don’t really understand why it says /app/your_program.sh, where is the app coming from?
One thing to note, when I started this challenge I was on WSL Ubuntu, now I have moved the whole folder to my laptop, just Ubuntu no Windows. (I don’t have access to my desktop PC for the next few weeks). But again, I think it’s something with the test jobs because locally everything works
Thanks for your help!
/edit
- I made sure that the file is executable
-rwxrwxrwx 1 ******* ******** 818 Dec 21 18:28 your_program.sh*
- On my laptop I’m also using a differnt user name and email, I wouldn’t expect that to be an issue though