-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
How to make pyftpdlib follow symbolic links? #547
Comments
Another client does see the links, but can't enter them:
|
See: pyftpdlib/pyftpdlib/filesystems.py Lines 204 to 213 in 2a1185d
|
@giampaolo commented on Mar 5, 2021, 2:14 PM GMT+3:30:
Well, is there an option to disable this check, without forking the code? (Monkey patching perhaps?) |
import pyftpdlib.filesystems
import pyftpdlib.__main__
pyftpdlib.filesystems.AbstractedFS.validpath = lambda self, path: True
pyftpdlib.__main__.main() Save as python foo.py -i '0.0.0.0' -p 8119 -d ~/Base/shared --debug |
I start the server by
I can connect to this server, but I do not see my symbolic links there.
The text was updated successfully, but these errors were encountered: