News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

permission is denied when trying to run a programme in ubuntu linux

Started by fuser, April 12, 2009, 06:13:45 PM

Previous topic - Next topic

fuser

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

MortenMacFly

Quote from: fuser on April 12, 2009, 06:13:45 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:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]