MC_PWD_FILE in mc-wrapper



Mandrake 9.1, mc-4.6.0-1mdk.rpm

login: peterf
MC_PWD_FILE=/home/peterf/tmp/mc-peterf/mc.pwd.xxxx

$su root
MC_PWD_FILE=/root/tmp/mc-peterf/mc.pwd.xxxx
but mc created a directory /root/tmp/mc-root !

mc-wrapper.sh:

1c1,2
< MC_PWD_FILE="${TMPDIR-/tmp}/mc-$USER/mc.pwd.$$"
---
> # MC_PWD_FILE="${TMPDIR-/tmp}/mc-$USER/mc.pwd.$$"
> MC_PWD_FILE="${TMPDIR-/tmp}/mc-${USERNAME-$USER}/mc.pwd.$$"


--
pefi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]