tomaswolf commented on issue #621:
URL: https://github.com/apache/mina-sshd/issues/621#issuecomment-2402221179

   Your debug screenshot shows the flags as 8381; that HEX 20BD. That means the 
server claims to return the following items, in that order:
   
   * File size (8 bytes, uint64)
   * Owner and group name (two strings, each 4 bytes length plus then length 
bytes data)
   * Permissions (4 bytes, 00 00 01 E8)
   * Accesstime (8 bytes, 00 00 00 00 67 06 4b f6)
   * Creationtime (8 bytes, 00 00 00 00 67 06 47 26)
   * Modifytime (8 bytes, **appear to be missing!**)
   * Link Count (4 bytes, apparently 00 00 00 02)
   
   Now, looking at the mod_sftp code I see that it actually writes only 
Accesstime and modifytime. So why is the creationtime bit set in the flags? The 
flags should be 20AD, not 20BD. To check that, I would also need to see the 
full trace of the buffer bytes. If it's already 20BD in the buffer, then it is 
a server bug. If it is 20AD in the buffer but 20BD later in our code, then our 
code has a bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to