bolcom / unFTP

A FTP(S) server with a couple of twists written in Rust. Follow and talk to us on https://t.me/unftp. Docs on https://unftp.rs
Apache License 2.0
251 stars 19 forks source link

fix: unftp command in docs had incorrect escaping #163

Closed joostderuijter closed 7 months ago

joostderuijter commented 7 months ago

Docs page: https://unftp.rs/server/starting. It's about this command

unftp \
  -v
  --root-dir=/home/unftp/data \
  --bind-address=0.0.0.0:2121 \
  --passive-ports=50000-51000 \

If a new user would run the command like this:

  1. There's no escaping after -v, so the options supplied afterwards won't get picked up
  2. The command won't be executed right away because of the / at the end

Both points are fixed in this pr