I have compiled a program from my Ububtu 10.10 terminal by
gcc file_name.c -o new_file
command. It compiled successfully creating an executable file named new_file. But when I was trying to execute it by this command
./new_file
It says that permission is denied of new_file. I've checked the permission properties of that file found that I've permission to read & write it (I'm the only user of that system). Can you please help me to figure out the problem?
chmod +x newfilein the same directory.gccshould make executables, err, executable. What is your umask?