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

Fix FTP/550 (ENODEV) for clients using "LIST -a" #66

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

eku
Copy link

@eku eku commented Nov 22, 2024

The test for additional switches to the LIST command must be performed before the path is joined. Otherwise, the path will never be empty and the test will be skipped. Fixes ENODEV error (FTP/550) on clients using "LIST -a".

Fixes #62, #63, #65.

@Maschell
Copy link
Collaborator

Thanks for looking into this. Looks good to me, but I'll do some addtionals tests on my side

@Maschell Maschell changed the base branch from main to v0.4.4-dev November 22, 2024 14:48
must be performed before the path is joined. Otherwise,
the path will never be empty and the test will be skipped.
Fixes ENODEV error (FTP/550) on clients using "LIST -a".
@eku eku force-pushed the fix/test_for_broken_clients branch from 4b8ffe7 to 0b62bd1 Compare November 22, 2024 14:51
@Maschell
Copy link
Collaborator

mtheall/ftpd@55ea4f6

The ftpd just had a change at the same place in code. Does this maybe fix this as well? If yes, I would probably stick the to upstream solution

@eku
Copy link
Author

eku commented Nov 22, 2024

mtheall/ftpd@55ea4f6

The ftpd just had a change at the same place in code. Does this maybe fix this as well? If yes, I would probably stick the to upstream solution

It might also fix the problem, but in a more complicated way. It still joins the CWD with the ARGS, and then acts on the error rather than skip this in the first place.

@Maschell Maschell merged commit 57362f4 into wiiu-env:v0.4.4-dev Nov 22, 2024
2 checks passed
@eku eku deleted the fix/test_for_broken_clients branch December 4, 2024 13:25
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.

I/O Error in curlftpfs (works with ftpiiu from HBL)
2 participants