Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: fuser on April 12, 2009, 06:13:45 pm

Title: permission is denied when trying to run a programme in ubuntu linux
Post by: fuser on April 12, 2009, 06:13:45 pm
ok, i am new to code block.
in ubuntu when i try to run any programme, i get this error message in a box or terminal

sh: /home/gnome/c++/file1: permission denied
press enter to continue

what am i suppose to do, this happens even if i run code block as a root user. i have also ticked this file to run as executable through properties tab.  please help
Title: Re: permission is denied when trying to run a programme in ubuntu linux
Post by: MortenMacFly on April 12, 2009, 09:24:32 pm
sh: /home/gnome/c++/file1: permission denied
press enter to continue
What happens if you compile (a "hello world" app) in a console using the command line? If that does not work either your system is broken. Probably you removed execution rights even to root. :lol: