[Pkg-mc-devel] [Bug 129133] Re: mc uses predictable temp directory path

Maarten Bezemer maarten.bezemer at gmail.com
Sun Feb 19 01:22:36 UTC 2012

Thank you for taking the time to report this bug and helping to make
Ubuntu better. We are sorry that we do not always have the capacity to
look at all reported bugs in a timely manner. There have been many
changes in Ubuntu since that time you reported the bug and your problem
may have been fixed with some of the updates. It would help us a lot if
you could test it on a currently supported Ubuntu version. When you test
it and it is still an issue, kindly upload the updated logs by running
apport-collect 129133 and any other logs that are relevant for this
particular issue.

** Changed in: mc (Ubuntu)
       Status: Confirmed => Incomplete

You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in Ubuntu.

  mc uses predictable temp directory path

Status in “mc” package in Ubuntu:

Bug description:
  Binary package hint: mc

  The Midnight Commander VirtualFS will expand temporary files (EG:
  files in rar, zip, etc) to a temporary directory for operations like
  view, edit, copy, etc.

  HOWEVER, while my TMP and TEMP are set to a subdir of my home
  directory, MC's virtual FS will expand things to a directory named
  /tmp/mc-$username -- IGNORING these settings!  This causes quite a bit
  of trouble when things like /tmp are not writable, and when the /tmp
  directory has less space than required for copying the file (which is
  a precondition the VirutalFS does *not* test!).

  Given the predictable naming and "silent failure" mode of the
  VirtualFS when it copies a file too large and fills /tmp, this appears
  to be a security bug as well since it could be used to DoS tmp.

To manage notifications about this bug go to:

More information about the Pkg-mc-devel mailing list