added 't' to patten (sticky executable bit) var reged = preg_match("([drwxt-]+)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\d+).*",file.getLongname());