Author: sebb
Date: Sat Jan 17 13:24:06 2015
New Revision: 1652602

URL: http://svn.apache.org/r1652602
Log:
docs

Modified:
    
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java

Modified: 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java?rev=1652602&r1=1652601&r2=1652602&view=diff
==============================================================================
--- 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
 (original)
+++ 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
 Sat Jan 17 13:24:06 2015
@@ -82,9 +82,14 @@ public class UnixFTPEntryParser extends
      *    T   the 1000 bit is turned on, and execution is off (undefined bit-
      *        state)
      *    e   z/OS external link bit
+     *    Final letter may be appended:
+     *    +   file has extended security attributes (e.g. ACL)
+     *    Note: local listings on MacOSX also use '@'; 
+     *    this is not allowed for here as does not appear to be shown by FTP 
servers
+     *    @   file has extended attributes
      */
     private static final String REGEX =
-        "([bcdelfmpSs-])"
+        "([bcdelfmpSs-])" // file type
         
+"(((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-])))\\+?" 
// permissions
 
         + "\\s*"                                        // separator TODO why 
allow it to be omitted?? 


Reply via email to