diff options
author | Eiichi Sato <sato.eiichi@gmail.com> | 2015-03-21 03:04:28 +0900 |
---|---|---|
committer | Eiichi Sato <sato.eiichi@gmail.com> | 2015-03-28 15:40:20 +0900 |
commit | e2393938bf56f2bd6b93ea11e9282cf6d40a2514 (patch) | |
tree | 1828bf704f2056d7e4fc3e3503f035bf36a72397 /doc/examples | |
parent | 13ca8e30589c55dd263eb43824de9ac8d2ad8306 (diff) | |
download | ranger-e2393938bf56f2bd6b93ea11e9282cf6d40a2514.tar.gz |
ranger.py: fixed issues with $tempfile in embedded shell
Previously, $tempfile (namely, /tmp/chosendir) was not cleaned up correctly when the ranger process quit in `pwd` without moving to other directory. This causes permission errors in multi-user environments trying to overwrite $tempfile created by a different user. This commit solves the problem in two ways: - Correctly clean up temporary files - Avoid writing to the same temporary by using mktemp(1)
Diffstat (limited to 'doc/examples')
0 files changed, 0 insertions, 0 deletions