Results 1 to 3 of 3

Thread: Shell script help

  1. #1
    Join Date
    Sep 2010
    Posts
    9

    Default Shell script help

    I made a script but I keep getting permission denied. I chmod'ed the file to 666 and it still wont run.

  2. #2
    Join Date
    Aug 2010
    Posts
    109

    Default

    The correct permission setting is:

    Code:
    chmod u+rwx scriptname
    ^^ This will give you the permission to run it.

    If you want everyone to be able to run it use:

    Code:
    chmod go+rx scriptname

  3. #3
    Join Date
    Sep 2010
    Posts
    9

    Default

    Thanks that did the trick!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •