Ubuntu Code::Blocks Problem: Program does not run.

Hello,
I've got a quite similar problem to this:
http://www.cplusplus.com/forum/beginner/67933/

When I try to run a program it always returns an error:

sh: 1: /(...)/test/bin/Debug/test: Permission denied

Process returned 126 (0x7E) execution time : 0.001 s
Press ENTER to continue.

I am using Ubuntu Gnome. The partition is ext4.

I tried different Terminals to launch the program:
xterm -T $TITLE -e
gnome-terminal --disable-factory -t $TITLE -x
konsole -e
xfce4-terminal -T $TITLE -x
terminology -M -T $TITLE -e
gnome-terminal --geometry=205x55 -x
but it didn't work for any of those.

Please give me a tip what I should try next :)
$ ls -l test



I suspect that you are (auto)mounting that partition with `noexec' option
Last edited on
You were right:
I now changed the option for that partition from user to defaults in fstab and rebooted.
Thank you for your help!
Last edited on
Topic archived. No new replies allowed.