After update from F25 to F26 (by means of dnf upgrade) the mc-wrapper.sh script shows no effect. eg. mc allways return to the folder where it was started from. Have checked that the script generates the MC_PWD_FILE variable Have checked that /usr/bin/mc -P filename works Knud
After updating F25 MC from version 1:4.8.17-2.x86_64.fc25 to 1:4.8.19-1 the problem accours. downgrading to 1:4.8.17-2 makes the problem dissapear Knud
If nobody noticed yet, this is caused by a changed location for temporary files. It should be changed to /var/tmp in mc-wrapper.sh.
This is actually a duplicate of #1433602
Change mc-wrapper.sh pointing to /var/tmp solves the problem
The mc-wrapper uses the environment variable TMPDIR to point to the temporary directory and /tmp if TMPDIR does not exist. Apparantly the mc-wrapper was designed to work no matter which temp directory was defined, as long as the variable TMPDIR was defined properly. So, the solution should be to define the variable TMPDIR to be /var/tmp, in stead of modifying mc-wrapper.sh. For reference the mc-wrapper code is: MC_USER=`id | sed 's/[^(]*(//;s/).*//'` MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$" /usr/bin/mc -P "$MC_PWD_FILE" "$@" if test -r "$MC_PWD_FILE"; then MC_PWD="`cat "$MC_PWD_FILE"`" if test -n "$MC_PWD" && test -d "$MC_PWD"; then cd "$MC_PWD" fi unset MC_PWD fi rm -f "$MC_PWD_FILE" unset MC_PWD_FILE unset MC_USER
Is it so? Do you want that every other application would store temporary files in /var/tmp instead of /tmp? The reason for changing that location for mc was its' habit to create huge temporary files which doesn't fit into tmpfs.
(In reply to vvs from comment #6) > Is it so? Do you want that every other application would store temporary > files in /var/tmp instead of /tmp? The reason for changing that location for > mc was its' habit to create huge temporary files which doesn't fit into > tmpfs. Hi vvs, I am not sure if you are responding to my comment or someone elses comment. Tbh I don't care which directory is temp, just that modifying mc-wrapper.sh may not be the way to go, because the wrapper uses an environment variable to point to the right directory. That's why I made my comment and included the source for mc-wrapper. So, if the directory should be /var/tmp, then besides modifying the temp directory, define TMPDIR to be /var/tmp should solve the problem.
mc-4.8.19-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b205eabf4
mc-4.8.19-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf0dcd75c6
mc-4.8.19-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-70c2e0ec52
mc-4.8.19-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-70c2e0ec52
mc-4.8.19-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b205eabf4
mc-4.8.19-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf0dcd75c6
mc-4.8.19-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
Problem still there, need to change mc-wrapper.sh as described in comment #2
mc-4.8.19-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
Confirm. It's not fixed in mc-4.8.19-2.fc25 and should be reopened.
4.8.19-4 has also the failure.....exit not to current folder Change mc-wrapper to /var/tmp from /tmp makes it work
mc-4.8.19-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.