instead of just looking to see if the user rwx bits are set (this fails if you are installing to a directory you do not own). r=samir, ssu, sr=dveditz. Fixes bug number 89436. git-svn-id: svn://10.0.0.236/trunk@111468 18797224-902f-48f8-a5cc-f745e15eee43