Author Topic: .cpp file Permissions denied.  (Read 3686 times)

Offline Blocks4moi

  • Single posting newcomer
  • *
  • Posts: 4
.cpp file Permissions denied.
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: .cpp file Permissions denied.
« Reply #1 on: June 19, 2009, 08:38:58 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ