Description
I think, the LISTFileFormater should be changed to produce x-Permission for directories. Some graphical FTP clients show strange behavior if this is missing.
Eg. on Mac OS X if you use Cyberduck, then a small "no entry" traffic sign will be attached to the directory icons, although it will allow you to enter the directories.
The following patch would help:
Index: core/src/main/java/org/apache/ftpserver/command/impl/listing/LISTFileFormater.java
===================================================================
— core/src/main/java/org/apache/ftpserver/command/impl/listing/LISTFileFormater.java (revision 713977)
+++ core/src/main/java/org/apache/ftpserver/command/impl/listing/LISTFileFormater.java (working copy)
@@ -95,6 +95,7 @@
permission[0] = file.isDirectory() ? 'd' : '-';
permission[1] = file.isReadable() ? 'r' : '-';
permission[2] = file.isWritable() ? 'w' : '-';
+ permission[3] = file.isDirectory() ? 'x' : '-';
return permission;
}