Author Topic: Why do I get this message every time some one please help  (Read 3389 times)

Offline Wood3220

  • Single posting newcomer
  • *
  • Posts: 4
Last login: Sun Jul 26 09:32:21 on ttys000
Greg-N-Vicki-Nickleskis-MacBook-Pro:~ gregnvickinickleski$ /Users/gregnvickinickleski/Desktop/secondtry
-bash: /Users/gregnvickinickleski/Desktop/secondtry: Permission denied
Greg-N-Vicki-Nickleskis-MacBook-Pro:~ gregnvickinickleski$

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Why do I get this message every time some one please help
« Reply #1 on: July 26, 2015, 05:51:28 pm »
hmm...
i assume you are using a mac?
what do you want to do, what is the result?
And what in hell has this to do with codeblocks?
And why can't you read what the error is reporting you, and use google to fix it? (it says obviously you have not the permission to do what you want...)

Offline Wood3220

  • Single posting newcomer
  • *
  • Posts: 4
Re: Why do I get this message every time some one please help
« Reply #2 on: July 26, 2015, 07:00:07 pm »
#include <stdio.h>
main()
{
    printf("HI\n");
    return 0;
}

I am using a mac and trying to get code blocks to work keeps opening me to that message

Offline Wood3220

  • Single posting newcomer
  • *
  • Posts: 4
Re: Why do I get this message every time some one please help
« Reply #3 on: July 26, 2015, 07:00:52 pm »
thats the code im trying to write the previous post is the message it keeps giving me access denied ?!

Offline Wood3220

  • Single posting newcomer
  • *
  • Posts: 4
Re: Why do I get this message every time some one please help
« Reply #4 on: July 26, 2015, 07:03:00 pm »
I've googled it and nothing comes up

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Why do I get this message every time some one please help
« Reply #5 on: July 26, 2015, 07:14:34 pm »
Try putting the files in a different location; one where the OS lets you do whatever is causing the error.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline blauzahn

  • Almost regular
  • **
  • Posts: 161
Re: Why do I get this message every time some one please help
« Reply #6 on: July 26, 2015, 07:29:12 pm »

Changes are, this has nothing to do with codeblocks.

Your compiler may somehow have generated an executable that is not marked as such.

if you issue from within bash:

Code
Greg-N-Vicki-Nickleskis-MacBook-Pro:~ gregnvickinickleski$  ls -l secondtry

You should have it marked with x like:

Code
-rwxr-xr-x  1 greg greg   123456 Jul 26 19:20 secondtry

If not then issue a:

Code
man chmod

I assume, you have write access to your own home directory.

And please read the rules:


http://forums.codeblocks.org/index.php/topic,9996.0.html

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Why do I get this message every time some one please help
« Reply #7 on: July 26, 2015, 08:18:04 pm »
Please post more details about your problem.
As far as I can see people are guessing what it is.

So please tell about all the steps you did.
Probably post the full build log and so on.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]