Hi all

I'm running XAMPP 1.7.3 on a MAc OS 10.5.8
every single time I try to access localhost/phomyadmin it throws this error:

MySQL said: Documentation
#1 - Can't create/write to file '/var/folders/CB/CB87qpBnHLurE0hRmU83WE+++TI/-Tmp-/#sqld8_1_2.MYI' (Errcode: 13)

I must then go into Terminal and copy the full path and change the permissions.
so I do :

sudo chmod 777 /var/folders/CB/CB87qpBnHLurE0hRmU83WE+++TI/-Tmp-/
after I do that I restart mysql server and everything works great.

is there a way to set permanently?? kind of pain to have to do it every time I reboot my machine