-rw-r--r-- 1 user group 24 Apr 25 2009 robots.txtdrwxr-xr-x 2 user group 4096 Feb 21 2009 sample
I found out myself, the 1st character of the permission string dictates whether it is a directory or not.