Use the symbolic link test in this case.
UPDATE: Darn! Too slow on the draw! ;)
In reply to Re: Using Permissions as a Parameter by archfool in thread Using Permissions as a Parameter by Dr.Avocado