Bug 1433602
Summary: | Extends TMPDIR_DEFAULT to mc-wrapper scripts - exit to CWD | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | poma <pomidorabelisima> | ||||
Component: | mc | Assignee: | Jindrich Novy <novyjindrich> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dvlasenk, knud.skrald, mariofutire, novyjindrich, pahan, rjones, slavazanko | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | https://stackoverflow.com/questions/39017391/how-to-make-midnight-commander-exit-to-its-current-directory | ||||||
Whiteboard: | |||||||
Fixed In Version: | mc-4.8.19-2.fc26 mc-4.8.19-2.fc25 mc-4.8.19-2.fc24 mc-4.8.19-5.fc24 mc-4.8.19-5.fc25 mc-4.8.19-5.fc26 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-05-27 02:52:03 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1438149, 1443730 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
mc -P actually works with any folder as long as it exists. so the old way was mc -P /tmp/mc-username/XYZ and because #define TMPDIR_DEFAULT "/tmp" mc would create the path /tmp/mc-username first and later would be able to save the last directory file in there. Now #define TMPDIR_DEFAULT "/var/tmp" so nobody creates /tmp/mc-username which is still used by mc-wrapper. This explains why this patch works, and I would vote for it. Can we have it in Fedora 25 as well please. 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. 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. This patch wasn't applied in mc-4.8.19-2.fc25. The problem still persist. mc-4.8.19-2.fc25 Still broken. Patch not applied. mc-4.8.19-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-833577850a mc-4.8.19-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-496bfbc504 mc-4.8.19-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3dd8698fb6 mc-4.8.19-4.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-3dd8698fb6 4.8.19-4 has also the failure.....exit not to current folder Change mc-wrapper to /var/tmp from /tmp makes it work No wonder, mc-tmpdir-cwd.patch is a "metapatch". It doesn't actually patch mc-wrapper.[c]sh.in files, but creates Extends-TMPDIR_DEFAULT-to-mc-wrapper-scripts.patch file instead. So, this patch didn't get applied again. mc-4.8.19-4.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-833577850a mc-4.8.19-4.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-496bfbc504 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. mc-4.8.19-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b0cad0a0c9 mc-4.8.19-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1b5ff551e7 mc-4.8.19-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6241a0da9c mc-4.8.19-5.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-b0cad0a0c9 mc-4.8.19-5.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-6241a0da9c mc-4.8.19-5.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-1b5ff551e7 mc-4.8.19-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. mc-4.8.19-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. mc-4.8.19-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1264407 [details] Extends TMPDIR_DEFAULT to mc-wrapper scripts - exit to CWD Extends TMPDIR_DEFAULT to mc-wrapper scripts, resolves exit to mc's current working directory.