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
DisplayChdir using absolute path should work properly with DefaultRoot #1688
Comments
The I ask because you currently have:
which, in turn, would cause the same message to displayed every time, no matter directory the client changed into. You configured an absolute path, which would indeed currently not work with |
My idea was: "Everytime the client change to any directory, a message will be displayed". "You configured an absolute path, which would indeed currently not work with DefaultRoot, because of the above assumption in the code that a DisplayChdir would be relative path to some file in the directory" This part I don't understood. Why and how the DisplayChdir, an absolute path, will not work with DefaultRoot? |
If the The current |
Got it! So in this case I should put the file |
Correct. And then, with |
…should work as expected even for chrooted sessions.
…issue1688 Issue #1688: If DisplayChdir is configured with an absolute path, it …
This should now work as expected in the master branch. Thanks! |
What I Did
this is my first time using proftpd
I was trying to use the directive 'DisplayChdir' to set my own message but it wasn't working. So I tried to disable some options, one of these options was DefaultRoot. By disabling the DefaultRoot directive the message that was set in DisplayChdir is displayed normally.
ProFTPD Version and Configuration
I'm using the "ProFTPD Version 1.3.7rc", I just installed with
sudo apt install proftpd
.This is my proftpd.conf file:
The text was updated successfully, but these errors were encountered: