Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4993  / 2 Years ago, sat, january 8, 2022, 4:52:18

I've compiled my file using the following command



gcc -o rget rget.c filerpc_clnt.c filerpc_xdr.c -Insl


I find that the file property "Allow files to be executed as program" is not enabled.



and so when i tried to execute i'm getting the permission denied message



./rget localhost mytestfile.txt
bash: ./rget: Permission denied

More From » compiling

 Answers
4

[Comments answered by OP]




The problem with that executable files is that it was in the windows formatted drive... so i moved that to the home directory and then executed the following command chmod +x rget and now i'm able to execute it. Thanks for all your support



[#39810] Monday, January 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pantkie

Total Points: 209
Total Questions: 112
Total Answers: 138

Location: Venezuela
Member since Sat, Apr 24, 2021
3 Years ago
;