Skip to content
Snippets Groups Projects
Commit 788e82b5 authored by intrigeri's avatar intrigeri
Browse files

dup: set secure permissions on tmpdir when creating it

parent bc8d8172
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ version 0.9.6 -- unreleased
new syntax.
. Support every duplicity-supported transport with new configuration
option desturl (Closes: #483712, #346040, Trac#2).
.
Actually allow to backup only VServers, by relaxing $include test.
. Actually allow to backup only VServers, by relaxing $include test.
. Set secure permissions on tmpdir when creating it.
ldap:
. support HDB backend just as the BDB one, and make message clearer
when no supported backend is found (Closes: #476910)
......
......@@ -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 "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment