From aa362a0e0db8ebd77a5741573aeaf8ea15f22f0e Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 8 May 2010 12:44:53 +0200 Subject: [PATCH 1/1] properly create tmpdir if it doesn't exist --- .zsh/zshenv/00_rdirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/zshenv/00_rdirs b/.zsh/zshenv/00_rdirs index 984da85..2822fe7 100644 --- a/.zsh/zshenv/00_rdirs +++ b/.zsh/zshenv/00_rdirs @@ -17,6 +17,6 @@ export BINDIR=$HOME/$BINDIR_REL export TMPDIR_REL=.tmp export TMPDIR=$HOME/$TMPDIR_REL -[ -d "$TMPDIR" ] || [ -L "$TMPDIR" ] || mkdir --parent "$TMPDIR" +mkdir --mode=0700 --parent "$(readlink -f $TMPDIR)" # vim:ft=zsh -- 2.39.5