diff --git a/classes/phing/system/io/PhingFile.php b/classes/phing/system/io/PhingFile.php
index <HASH>..<HASH> 100644
--- a/classes/phing/system/io/PhingFile.php
+++ b/classes/phing/system/io/PhingFile.php
@@ -420,7 +420,7 @@ class PhingFile {
         if ($fs->checkAccess($this) !== true) {
             throw new IOException("No read access to ".$this->path);
         }
-        return @is_dir($this->path);
+        return @is_dir($this->path) && !@is_link($this->path);
     }
 
     /**
Refs #<I> - symbolic links are not directories