Sample Header Ad - 728x90

Termux Bash: ./ Permission Denied

1 vote
0 answers
646 views
I have a file Test.cpp that I compiled into test using clang++, but running it, I get the error in the title. I have tried using chmod u+x test and chmod 775 test, among other commands, but using ls -l shows that all files still only have read and write permissions, for example: -rw-rw---- 1 u0_a234 media_rw 516 Jan 15 11:58 Sample.cpp The -rw-rw---- is shown on all the files in the directory, even one that I created just now with nano hello.cpp, which also couldn't run once compiled Weirdly though, Test.py works when I run it with my installed python program. When I installed python, it looked like it automatically installed clang as well, based on the text it output and the fact that I can compile cpp files I'm still very new to bash/Linux stuff and I'm guessing that it has something to do with file permissions on Android, but if someone could shed some insight onto this I'd really appreciate it Edit: removed image, I was lazy and didn't read the rules regarding that, sorry
Asked by Sandman (11 rep)
Jan 15, 2023, 09:42 PM
Last activity: Jan 15, 2023, 11:29 PM