Author Topic: .cpp file Permissions denied.  (Read 2140 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: 9508
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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ