diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-07-25 00:05:10 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-07-25 00:05:10 +0200 |
commit | 0f536b179f68cf15a595a3f76728bad7a510e680 (patch) | |
tree | 1f102808b01b789b4b8b334d322bb262924b1580 | |
parent | Fix path resolving (diff) | |
download | backuper-0f536b179f68cf15a595a3f76728bad7a510e680.tar.xz |
Secure RUNDIR
-rw-r--r-- | backuper.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backuper.sh b/backuper.sh index 004d970..67eb92b 100644 --- a/backuper.sh +++ b/backuper.sh @@ -184,6 +184,7 @@ prepare() { TS="$(date +"%Y-%m-%d_%H-%M-%S")" RUNDIR="/tmp/backuper_run_dir_$$_$UTS" mkdir -p "$RUNDIR" + chmod 700 "$RUNDIR" } error_handler() { |