Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Launching the terminal executes my script

  • 26-06-2003 1:49pm
    #1
    Closed Accounts Posts: 1,325 ✭✭✭


    Hey people,

    Please move if you feel it would be appropiate to.

    I didn't know wheither to put this here or in the Unix forum. This happened in Mac OS X 10.2.6 so that's why I'm asking here.

    Thing is I wrote a script (my bad). I was changing it about a bit and that kind of thing and then running it to check to see if it was working as it should. The script is very basic. It uses sudo to change to root and then just simple copies a few files and then tars them up.

    So after I wrote the script, I did a chmod 777 on it to make it executable (double - clickable)

    AND now.......
    Everytime I lauch the terminal it will run the script I wrote. Therefore leaving it impossible for me to use the terminal GAH!!!

    Has anyone got any ideas or experienced this before?? I'm not coming up with any ideas from google (my searching skills just don't seem up to scratch). Have I set some sort of preference in the terminal that always runs that script?? I've checked the Terminal>preferences and the Terminal>windows settings. Why is the terminal dependant on the script being there??

    I'm at a lose.
    Rgds,
    A.


Comments

  • Closed Accounts Posts: 1,325 ✭✭✭b3t4


    Phew......

    Fixed the problem.

    Some how I had managed to chage something in the .plist file for the terminal.

    FYI
    Located at myUsername/Library/Preferences is an invisible file called com.apple.Terminal.plist (invisible file)
    It had a key called Execution and the string for it contains the path to the script I wrote.

    Just letting ye know in case anyone has the same problem in the future.

    Rgds,
    A.


  • Banned (with Prison Access) Posts: 5,154 ✭✭✭Oriel


    Ha Ha! :D


Advertisement