Sample Header Ad - 728x90

mktemp creates file in pwd rather than in /tmp

1 vote
1 answer
783 views
Previously mktemp used to create files in /tmp. Today I noticed that mktemp is creating file in $PWD rather than in /tmp? ### Did I change something inadvertently? Any suggestions to fix this? --- Note: I am able to do: ls /tmp
$ mktemp --version
mktemp (GNU coreutils) 8.30
$ echo $TMPDIR

$
Asked by Porcupine (2156 rep)
May 6, 2021, 05:30 PM
Last activity: May 6, 2021, 08:23 PM