Hello,
Rodrigo Valiña Gutiérrez, on Wed 18 May 2016 17:25:02 +0200, wrote:
> +if [ x"$TARGET" = x ]; then
> + echo "Refused to overwrite inexistent/empty TARGET."
> + exit 1
> +fi
I have commited this. The original feature request remains to be
implemented, though.
Samuel
This bug also affects current version in unstable.
If you choose a base-unexistent path in crosshurd,
which subsequently will be passed to makehurddir.sh,
makehurddir.sh will call readlink -f,
which may return an empty string in some cases,
thus $TARGET will be "", so commands like:
cp /etc/resol
Package: crosshurd
Version: 1.7.39
Severity: wishlist
Hi!
It would be good if crosshurd could check if the target directory (that
defaults to /root/jail) already exists, giving a warning message if it's
true (to avoid overwriting already existing files and/or chroots, for
example)
Thank you!
Be
3 matches
Mail list logo