wolpi / prim-ftpd

FTP server app for android
Other
620 stars 78 forks source link

Virtual Folders' "/" folder listing doesn't show anything #343

Closed lmagyar closed 4 months ago

lmagyar commented 4 months ago

Android 9.0 ftpd 7.1 WinSCP 6.3.3

When Virtual Folders is configured, listing the "/" folder doesn't return/show anything in WinSCP.

I had to check the source to see, that I have to start with /fs and /saf the path. With these prefixes, everything works as expected. Tested several times, WinSCP and ftpd restarts, etc., never got a / listing in WinSCP, strange.

Oh, one clue, when I entered /rosaf in WinSCP, I've got error sg. like "server closed connection unexpectedly", though /superuser returned sg. like "file doesn't exist" (that is true, the phone is not rooted).

Log for "/" listing (I have no clue what went wront, it seems OK) ``` 2024.05.13 01:28 TRACE org.apache.sshd.server.session.ServerSession Received packet #141: 5e 00 00 00 00 00 00 00 0e 00 00 00 0a 0b 00 00 a0 0b 00 00 00 01 2f 2024.05.13 01:28 DEBUG org.apache.sshd.server.channel.ChannelSession Received SSH_MSG_CHANNEL_DATA on channel ChannelSession[id=0, recipient=256] 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession Received channel data: 00 00 00 0a 0b 00 00 a0 0b 00 00 00 01 2f 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.PipeDataReceiver IN: 00 00 00 0a 0b 00 00 a0 0b 00 00 00 01 2f 2024.05.13 01:28 DEBUG org.apache.sshd.server.sftp.SftpSubsystem Received SSH_FXP_OPENDIR (path=/) 2024.05.13 01:28 DEBUG org.primftpd.filesystem.VirtualSshFileSystemView getFile '/', absolute: '/' 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] isReadable() -> true 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 00 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 00 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 00 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 2d 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 66 00 00 a0 0b 00 00 00 24 62 39 31 61 39 61 34 62 2d 65 62 33 31 2d 34 31 65 36 2d 61 66 34... 2024.05.13 01:28 DEBUG org.apache.sshd.server.channel.ChannelSession Send SSH_MSG_CHANNEL_DATA on channel 0 2024.05.13 01:28 TRACE org.apache.sshd.server.session.ServerSession Sending packet #203: 5e 00 00 01 00 00 00 00 31 00 00 00 2d 66 00 00 a0 0b 00 00 00 24 62 39 31 6... 2024.05.13 01:28 TRACE org.apache.sshd.server.session.ServerSession Received packet #142: 5e 00 00 00 00 00 00 00 31 00 00 00 2d 0c 00 00 a1 0c 00 00 00 24 62 39 31 ... 2024.05.13 01:28 DEBUG org.apache.sshd.server.channel.ChannelSession Received SSH_MSG_CHANNEL_DATA on channel ChannelSession[id=0, recipient=256] 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession Received channel data: 00 00 00 2d 0c 00 00 a1 0c 00 00 00 24 62 39 31 61 39 61 34 62 2d 65 62 33... 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.PipeDataReceiver IN: 00 00 00 2d 0c 00 00 a1 0c 00 00 00 24 62 39 31 61 39 61 34 62 2d 65 62 33 31 2d 34 31 65 36... 2024.05.13 01:28 DEBUG org.apache.sshd.server.sftp.SftpSubsystem Received SSH_FXP_READDIR (handle=b91a9a4b-eb31-41e6-af43-1b95d44bede5) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/fs] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/superuser] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/saf] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(NLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getName() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] doesExist() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttributes() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Size) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getSize() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Uid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Owner) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Gid) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Group) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getOwner() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsDirectory) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isDirectory() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsRegularFile) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(IsSymbolicLink) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(Permissions) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isReadable() -> true 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] isExecutable() 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(CreationTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(LastModifiedTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(LastAccessTime) 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getLastModified() -> 0 2024.05.13 01:28 TRACE org.primftpd.filesystem.VirtualSshFile [/rosaf] getAttribute(NLink) 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 00 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 00 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 01 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 8f 2024.05.13 01:28 TRACE org.apache.sshd.server.channel.ChannelSession OUT: 68 00 00 a1 0c 00 00 00 04 00 00 00 03 2f 66 73 00 00 00 39 64 72 2d 2d 72 2d 2d 72 2d 2d 20... 2024.05.13 01:28 DEBUG org.apache.sshd.server.channel.ChannelSession Send SSH_MSG_CHANNEL_DATA on channel 0 2024.05.13 01:28 TRACE org.apache.sshd.server.session.ServerSession Sending packet #204: 5e 00 00 01 00 00 00 01 93 00 00 01 8f 68 00 00 a1 0c 00 00 00 04 00 00 00 0... ```
lmagyar commented 4 months ago

Seems to be a WinSCP related issue. It works with rclone. Something in the returned folder list is invalid for WinSCP.

>rclone lsd android:/
          -1 1970-01-01 01:00:00        -1 fs
          -1 1970-01-01 01:00:00        -1 rosaf
          -1 1970-01-01 01:00:00        -1 saf
          -1 1970-01-01 01:00:00        -1 superuser
lmagyar commented 4 months ago

sshfs-win showed directory names starting with "/" like "/fs", so maybe this is the root cause: these virtual folder names should not start with "/". Some client can handle this, some not.

wolpi commented 4 months ago

Well, that virtual-folders stuff is quite hacky. There had to be issues like this :smile: I will look into it as soon as I find time.