User forums > Using Code::Blocks

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

(1/1)

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

--- End quote ---
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:

Navigation

[0] Message Index

Go to full version