Bug#1003579: wsl: destroys files/directories named 'temp'
Package: wsl
Version: 0.2.1-2
Severity: grave
hi,
when sourcing /usr/share/wsl/wsl-functions, files or directories named
temp are overwritten or renamed to .wslrun, depending on if it is a file
or directory. Errors are not handled at all...
cat ${MYENV} | grep -v "^#" | sort | uniq >temp
echo "##### history ends #####" >>temp
/bin/mv temp ${MYENV}
Made my temp folder unhappy. Even if its a file named 'temp', this
should never happen, especially as the created file is sourced later.
. ${MYENV}
Cheers,
Bernd
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Reply to: