Skip to content

Conversation

@ejohnstown
Copy link
Contributor

When connecting to the wolfSSH SFTP server, running the command ls -l shows all regular files as symlinks. This patch fixes the check for files being symlinks or not and update their indication in the longname.

(ZD 19554)

1. When making a longname, mask the permission file type bits and check
   it being a link.
2. Mask the permission bits the same way for checking the item being a
   directory.
@ejohnstown ejohnstown removed the request for review from JacobBarthelmeh March 20, 2025 17:39
@dgarske dgarske self-assigned this Mar 20, 2025
@dgarske dgarske merged commit 85bc7ba into wolfSSL:master Mar 20, 2025
82 checks passed
@ejohnstown ejohnstown deleted the sftp-symlink branch March 20, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants