Author Topic: Basic problem. Permission Denied.  (Read 6304 times)

Offline Pheztiv

  • Single posting newcomer
  • *
  • Posts: 3
Basic problem. Permission Denied.
« on: July 01, 2008, 03:50:26 am »
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. 

Offline McZim

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Basic problem. Permission Denied.
« Reply #1 on: July 01, 2008, 08:10:57 am »
chmod -R 777 /Users/ryanwagner/Desktop/

:) and try again.

Offline Pheztiv

  • Single posting newcomer
  • *
  • Posts: 3
Re: Basic problem. Permission Denied.
« Reply #2 on: July 01, 2008, 05:18:06 pm »
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


Offline McZim

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Basic problem. Permission Denied.
« Reply #3 on: July 02, 2008, 08:55:44 am »
show me

#ls -l /Users/ryanwagner/Desktop/

Offline Pheztiv

  • Single posting newcomer
  • *
  • Posts: 3
Re: Basic problem. Permission Denied.
« Reply #4 on: July 05, 2008, 03:31:18 pm »
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?