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

.cpp file Permissions denied.

Started by Blocks4moi, June 19, 2009, 08:34:57 AM

Previous topic - Next topic

Blocks4moi

 Hello. I just installed Code::Blocks on Ubuntu Ultimate Edition 64bit. I'm trying to run a simple program. When I press "Build and Run" I get an error that says : "sh: /home/user/programs/filename:  Permissions denied      Press Enter to continue." How can I fix this?

MortenMacFly

Quote from: Blocks4moi on June 19, 2009, 08:34:57 AM
Hello. I just installed Code::Blocks on Ubuntu Ultimate Edition 64bit. I'm trying to run a simple program. When I press "Build and Run" I get an error that says : "sh: /home/user/programs/filename:  Permissions denied      Press Enter to continue." How can I fix this?
Adjust the permissions?
Probably the permissions are not derived correctly from the folder above?
However - this should also happen on the command console. So be careful:  it's not a C::B issue.
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]