We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae6674c commit 1e60d3eCopy full SHA for 1e60d3e
1 file changed
bin/v-restore-user
@@ -747,6 +747,11 @@ if [ "$udir" != 'no' ]; then
747
fi
748
749
750
+# Create tmp/
751
+mkdir -p $HOMEDIR/$user/tmp
752
+chmod 700 $HOMEDIR/$user/tmp
753
+chown -R $user:$user $HOMEDIR/$user/tmp
754
+
755
# Sending mail notification
756
subj="$user → restore has been completed"
757
cat $tmpdir/restore.log |$SENDMAIL -s "$subj" $email $notify
0 commit comments