Package: vsftpd Version: 3.0.3-10 Severity: important Current postinst contains:
if [ ! -d "${_DIRECTORY}" ]
then
mkdir -p "${_DIRECTORY}"
chown root:${_USERNAME} ${_DIRECTORY}
else
echo
echo "vsftpd directory (${_DIRECTORY}) already exists,
doing nothing."
fi
This fails if ${_DIRECTORY} is a symbolic link. Suggest changing to
if [ ! -e "${_DIRECTORY}" ]
which will be correct regardless of what kind of filesystem object is at
${_DIRECTORY}.
--
Mike Stone

