News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Why do I get this message every time some one please help

Started by Wood3220, July 26, 2015, 04:48:53 PM

Previous topic - Next topic

Wood3220

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$

BlueHazzard

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...)

Wood3220

#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

Wood3220

thats the code im trying to write the previous post is the message it keeps giving me access denied ?!

Wood3220


stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

blauzahn


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:


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


You should have it marked with x like:


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


If not then issue a:


man chmod


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

And please read the rules:


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

oBFusCATed

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!]