in reply to Using Permissions as a Parameter
Use the symbolic link test in this case.
UPDATE: Darn! Too slow on the draw! ;)