MC_PWD_FILE in mc-wrapper

Figura Peter peterf at AURUS.SK
Fri Aug 15 07:20:25 UTC 2003


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



More information about the mc-devel mailing list