[Pkg-mc-devel] Bug#767463: mc: loses files on "skip" when "Cannot preallocate space for target file"

Thorsten Glaser tg at mirbsd.de
Fri Oct 31 08:45:54 UTC 2014


Package: mc
Version: 3:4.8.13-2
Severity: important

Reporting this for a system which does not have reportbug installed
(edited the information).

I just wanted to move some old IRC logs to the side, so I marked them,
hit F6 to move to the old/ subdirectory, and told mc to append.

I got an error message:

║               ║ Cannot preallocate space for target file "/home/t/tglaser~ev_arandom.log" ║   │          ║
║               ║                          Bad file descriptor (9)                          ║   │          ║

When I hit “abort”, it cleanly aborted, and nothing happened.
But when I hit “skip”, the target(!) file is deleted.

① Why does this error occur in the first place? Filesystem is:
  /dev/sda6 on /home type ext3 (rw,relatime,quota,usrquota,data=ordered)

② It should not lose data.

-- System Information:
Debian Release: jessie
Architecture: i386

Kernel: Linux 3.16-3-686-pae
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: nevermind



More information about the Pkg-mc-devel mailing list