diff options
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/dup.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/handlers/dup.in b/handlers/dup.in index 2854974..89db671 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -166,6 +166,7 @@ if [ -n "$tmpdir" ]; then info "Temporary directory ($tmpdir) does not exist, creating it." mkdir -p "$tmpdir" [ $? -eq 0 ] || fatal "Could not create temporary directory ($tmpdir)." + chmod 0700 "$tmpdir" fi info "Using $tmpdir as TMPDIR" precmd="${precmd}TMPDIR=$tmpdir " |