User forums > Using Code::Blocks
Basic problem. Permission Denied.
(1/1)
Pheztiv:
I'm trying to run a basic "hello world" type of program.. or any program, but it keeps on giving me this...
Last login: Mon Jun 30 21:37:57 on ttyp4
/Users/ryanwagner/Desktop/Untitled1
Welcome to Darwin!
ryan-wagners-computer:~ ryanwagner$ /Users/ryanwagner/Desktop/Untitled1
-bash: /Users/ryanwagner/Desktop/Untitled1: Permission denied
ryan-wagners-computer:~ ryanwagner$
I don't know why it's giving me the Permission denied.
Please help.
Obviously I'm very much a beginner.
McZim:
chmod -R 777 /Users/ryanwagner/Desktop/
:) and try again.
Pheztiv:
It seems to be working now after that, but I tried to make another file but the problem with this is...
-bash: /Users/ryanwagner/Desktop/Test: No such file or directory
McZim:
show me
#ls -l /Users/ryanwagner/Desktop/
Pheztiv:
it doesn't do anything... This is a mac I'm using. With a mac, do people normally have to tweak anything to get a complier to work?
Navigation
[0] Message Index
Go to full version