Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Wood3220 on July 26, 2015, 04:48:53 pm

Title: Why do I get this message every time some one please help
Post by: Wood3220 on July 26, 2015, 04:48:53 pm
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$
Title: Re: Why do I get this message every time some one please help
Post by: BlueHazzard 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...)
Title: Re: Why do I get this message every time some one please help
Post by: Wood3220 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
Title: Re: Why do I get this message every time some one please help
Post by: Wood3220 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 ?!
Title: Re: Why do I get this message every time some one please help
Post by: Wood3220 on July 26, 2015, 07:03:00 pm
I've googled it and nothing comes up
Title: Re: Why do I get this message every time some one please help
Post by: stahta01 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.
Title: Re: Why do I get this message every time some one please help
Post by: blauzahn 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
 (http://forums.codeblocks.org/index.php/topic,9996.0.html)
Title: Re: Why do I get this message every time some one please help
Post by: oBFusCATed 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.