"I finally gave up went out and bought leporard that was a waiste of money spent all day only got to install once."
Never install a new OS unless your current OS system is in tip top shape.
In view of your new issue: +"something about having permissions to write to the /temp folder"+ suggest that you run a stronger 3rd party utility.
You must use the versions that are compatible w/your OS system & keep the utilities updated to avoid damaging/harming/trashing your system.
DiskWarrior
Highly recommended for *directory damage* repairs.
TechTool Pro
Multi-functional utility.
Drive Genius Multi-functional utility.
You will need to make your own decision on which to purchase. Read up on them on their websites because each does something a little different.
Good luck!