Author Topic: permission is denied when trying to run a programme in ubuntu linux  (Read 4395 times)

fuser

  • Guest
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: permission is denied when trying to run a programme in ubuntu linux
« Reply #1 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:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ