Package: sharutils Version: 1:4.15.2-2 Severity: important --- Please enter the report below this line. --- Dear maintainer,
shar does not handle filenames with spaces in them if using compression (ie gzip or xz). It creates the archive without comment but then when trying to extract the archive it fails with an error message. This is the error message: x - created lock directory _sh03236. x - extracting Filename with spaces.txt gzipped uudecode fatal error: fserr 2 (No such file or directory) performing 'freopen' on Filename with _sh03236/gzi restore of Filename with spaces.txt failed Filename with spaces.txt: MD5 check failed x - removed lock directory _sh03236. I have confirmed that the bug is present in the current upstream version. The program works correctly with filenames containing spaces if you do not specify compression. Thank you --- System information. --- Architecture: Kernel: Linux 4.9.0-6-amd64 Debian Release: 9.4 500 stable-updates ftp.us.debian.org 500 stable security.debian.org 500 stable ftp.us.debian.org 100 stretch-backports ftp.debian.org --- Package information. --- Depends (Version) | Installed ======================-+-=========== libc6 (>= 2.14) | Package's Recommends field is empty. Suggests (Version) | Installed ============================-+-=========== sharutils-doc | bsd-mailx | 8.1.2-0.20160123cvs-4 OR mailx |