Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the format of LIST for symlinks #507

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

asomers
Copy link
Contributor

@asomers asomers commented May 14, 2024

For symlinks, print the target in the LIST output, like
"link -> target". That matches the behavior of other ftp servers, like
FreeBSD's ftpd and vsftpd.

See Also bytecodealliance/cap-std#354

Note: this PR must be merged after #504 . Its tests depend on that one.

@asomers asomers force-pushed the symlink2 branch 3 times, most recently from 1f4e917 to 2ae1ec8 Compare May 28, 2024 22:02
@asomers asomers marked this pull request as ready for review May 29, 2024 20:17
For symlinks, print the target in the LIST output, like
"link -> target".  That matches the behavior of other ftp servers, like
FreeBSD's ftpd and vsftpd.
This is a prerequisite for fixing a bug in cap-std
The read_link function refuses to return the value of a symlink if it's
absolute.  But read_link_contents will allow that.
@asomers
Copy link
Contributor Author

asomers commented Aug 23, 2024

@hannesdejager could you please review this PR?

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.

None yet

1 participant