diff --git a/src/freedombone-controlpanel-user b/src/freedombone-controlpanel-user index 8bf86135..2c0be65c 100755 --- a/src/freedombone-controlpanel-user +++ b/src/freedombone-controlpanel-user @@ -908,6 +908,8 @@ function sign_keys { function run_tox_client { # create a tox user if [ ! -f /home/${USER}/.config/tox/data.tox ]; then + mkdir -p /home/${USER}/.config/tox + chown -R ${USER}:${USER} /home/${USER}/.config toxid -u ${USER} -n data fi toxic -f /home/${USER}/.config/tox/data.tox --force-tcp --SOCKS5-proxy 127.0.0.1 9050