add repos

Discussion in 'Linux, BSD and Other OS's' started by donkey42, Jul 1, 2006.

  1. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    hi yall, hail to the gods, i need you, just tried to add repos from but got this error:
    Code:
    [dave@hayes ~]$ su
    Password:
    [root@hayes dave]# cd /home/
    [root@hayes home]# cd /home/dave/Documents/add-repos/
    [root@hayes add-repos]# ./add-repos.sh
    bash: ./add-repos.sh: Permission denied
    [root@hayes add-repos]#
    any ideas as to why Permission was denied, cos i don't know, i thought loging in as "su" provided you with full access, help guys
     
  2. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    The script has not been set to be executable by the user. to do this you need to do
    Code:
    chmod a+x add-repos.sh
    and then run the script.
     

Share This Page