Bug#2356: mailx -- problems with TMPDIR symlink
Package: mailx
Status: install ok installed
Priority: standard
Section: mail
Maintainer: Sven Rudolph <sr1@inf.tu-dresden.de>
Version: 8.1-11
Mailx seems to have problems if the TMPDIR env var is set and points
to a symbolic link. For example, on my system:
callandor:17 - ~> echo $TMPDIR
/home/bcwhite/tmp
callandor:18 - ~> ll $TMPDIR
lrwxrwxrwx 1 bcwhite verisim 12 Dec 16 00:02 /home/bcwhite/tmp -> /tmp/bcwhite/
callandor:19 - ~> mail bcwhite
/home/bcwhite/tmp/Rsa045/home/bcwhite/tmp/Rma04563: No such file or directory
Buf it I change TMPDIR, it works:
callandor:20 - ~> setenv TMPDIR /tmp/bcwhite
callandor:21 - ~> echo $TMPDIR
/tmp/bcwhite
callandor:22 - ~> ll $TMPDIR
total 1208
-rw-r----- 1 bcwhite verisim 120 Feb 17 02:40 test.cc
-rw-r----- 1 bcwhite verisim 239004 Feb 18 10:34 test.dbf
callandor:24 - ~> mail bcwhite
Subject:
Brian
( bcwhite@bnr.ca )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: